Nearly two dozen police lockers at a police station adjacent to Yankee Stadium were vandalized — including one belonging to a Muslim cop that had “F–k you Muslim b—h” written on it, authorities said Monday.

The NYPD’s Internal Affairs Bureau has opened an investigation into the incident Sunday at Transit District 11 on 161st Street and River Avenue, police sources said.

Penises were discovered scrawled on 22 compartments in the male cops’ locker room, sources said.

When cops investigated further, they found the hateful writing in black marker on the Muslim cop’s locker, according to the sources.

The New York City Police Department Muslim Officers Society released a statement saying it is “extremely disappointed” to learn about the locker incident “targeting Muslim officers. “We understand this incident will be thoroughly investigated and the parties responsible will be held accountable,” the statement read.

“The NYPD and City of New York have a great responsibility ensuring the community that the BIAS incidents will be taken seriously and thoroughly investigated,” the group said. “Imagine how they will feel when they learn that the people investigating these crimes and sworn to protect them are not safe themselves.”

Additional reporting by Shawn Cohen