A Mexican immigrant who loved music was mysteriously murdered on the subway as he rode home after seeing one of his favorite bands, authorities said yesterday.

The man, a married dad in his 30s whose name was withheld pending notification of his relatives, was found stabbed three times in his upper torso after he staggered bloody onto the platform of the Rector Street station in lower Manhattan at around 4:40 a.m.

Cops said he collapsed at the turnstile after stumbling off a northbound N train. He later died at a hospital.

The man, who lived in Paterson, N.J., had been listening to a band play in Brooklyn before he was killed, officials said.

He entered the subway at 36th Street and Fourth Avenue in Brooklyn, presumably to head to the PATH train in Manhattan and home.

A subway rider later told cops that he had seen someone fleeing the train at Cortlandt Street, the stop before Rector.

Police said the man’s brother told them the victim worked menial jobs to support his family in Mexico. He also loved playing the piano.