A man was fatally stabbed in broad daylight in front of a Brooklyn homeless shelter, police said on Sunday.

The 21-year-old was stabbed once in the chest in front of Armory Men’s Shelter on Bedford Avenue in Crown Heights around 12:50 p.m. by a man who then rushed off, authorities said.

He was rushed to Interfaith Medical Center, where he died around 1:30 p.m.

Police are still searching for the victim’s attacker, whom they described as being a man approximately in his 20s, wearing blue jeans and a black jacket.

It was not immediately clear what prompted the stabbing and if the men were known to each other, police said.

The identity of the victim has not been released pending family notification.