Boxer Floyd Mayweather visited the Bronx station where a slain NYPD cop worked to pay his respects on Saturday, officials said.

Mayweather went to the 46 Precinct’s station and posed for a photo in front of a portrait honoring murdered police officer Miosotis Familia, 48.

The mother of three was shot by a cop-hating gunman with a history of mental illness on July 5 while inside a mobile police command vehicle in Fordham Heights. Cops shot and killed Alexander Bonds, the 34-year-old gunman, nearby.

Mayweather’s visit comes as he tries to limit PR damage from a homophobic slur he dropped last week against upcoming opponent Conor McGregor, who taunted him first by calling him “boy.” During a press conference in London on Friday, Mayweather addressed the mixed-martial arts fighter as, “You punk, you fa—t, you ho!”

But that followed insults McGregor lobbed at him Tuesday on the first stop in the joint promotional world tour in Los Angeles.

McGregor made fun of Mayweather’s clothes, called him out for his unpaid tax bill and promised to knock the boxing great out in less than four rounds.

Then, Mayweather started shadowboxing, which made McGregor laugh.

Bringing the microphone to his mouth, he said: “Dance for me, boy!”

The racially charged language angered Mayweather so much that he stopped shadowboxing and started to walk toward McGregor, who quickly reworded his comments.

“Dance for me, son! Dance for me!” the loudmouthed McGregor called out.

The two are expected to square off in Las Vegas on Aug 26.

NYPD Commissioner James O’Neill said in a message to his cops that Familia was “assassinated…in a direct attack on police officers.”