A Long Island Rail Road worker who raked in more than $280,000 in pay last year — more than half from overtime — was busted hanging out at home while on the clock, according to a report obtained by The Post.

But he was allowed to retire before he could be punished — and collect his full pension on the public dime.

Raymond Murphy, a foreman with the LIRR’s Buildings and Bridges department who’d been at the agency since 1996, was caught by the MTA’s Inspector General at or near his home on 10 occasions when he was on duty in April, May and June 2018, the Aug. 8 report says.

But he says he has nothing to apologize for.

“I’m retired now and that’s all I have to say,” Murphy said at his East Northport home Tuesday morning.

NEW YORK’S MTA TOP EARNER MADE $344G IN OVERTIME LAST YEAR: REPORT

His wife then emerged from the house insisting he’s a “hardworking, honest guy” and griping about all the late hours he put in.

“If they hired enough guys and trained them to do the job, they wouldn’t have had to call him at all hours to go to work!” she said.

GET THE FOX NEWS APP

Murphy was one of the top earners in the whole MTA in 2017 — making a jaw-dropping $405,021, with $295,490 coming from overtime, according to data from government watchdog group the Empire Center.

To continue reading on The New York Post, click here.