He’s making mad money.

A staff psychiatrist at Kings County Hospital who pulled in an astounding $515,700 in overtime reported working an average of more than 110 hours a week for a full year — including one super-human stretch of 96 hours straight.

Records obtained by The Post under the Freedom of Information Law show that Dr. Quazi Rahman clocked 3,820 hours of overtime in 2009, or 73 hours a week, on top of his regular 40-hour schedule.

With a base salary of $173,503, the child-behavior specialist hit the jackpot — his total taxpayer-funded compensation came to an astounding $689,203.

But to reach that mark, Rahman, 55, tested the limits of human endurance.

Starting on March 2, 2009, he reported working 55 days in a row without a day off.

In the week of April 5 to 11, he exceeded even that astonishing feat by logging 141 hours, including four nonstop days of 24 hours each.

Since there are 168 hours in a week, that left only 27 hours when Rahman was off the payroll clock that particular week.

Without a break, he then ground out 116 hours the following week, plus 130 hours more the week after. It wasn’t until April 26 that Rahman finally took a full day off.

A spokesman for the American Psychiatric Association said it doesn’t prescribe work limits for its members. But medical interns are limited to a maximum of 80 hours a week, raising questions how any doctor can work 141 hours and remain effective.

Following inquiries by The Post, the city Health and Hospitals Corp. checked Rahman’s time sheets and uncovered discrepancies covering about 80 hours.

He was ordered to return $10,800, the value of the disputed time, and pay an additional $10,800 penalty.

Time records for three weeks could not be located.

Despite those red flags, officials defended Rahman for pitching in at a time when Kings County was under pressure to improve its psychiatric emergency services following the widely publicized death of patient Esmin Green, who was left lying on the floor of a waiting room for more than an hour in plain sight of disinterested hospital personnel.

“We are confident this was an unintended mistake in coding and documenting two separate sets of time sheets,” said HHC spokeswoman Ana Marengo, speaking of the improperly billed hours.

In what it described as an “extra precaution,” the HHC said it would also review the time sheets of other staffers in the behavioral health division.

As The Post previously reported, several Kings County psychiatrists tripled their base salaries in 2009, when the Green scandal exploded and the HHC was having a hard time recruiting extra psychiatrists to meet mandated staffing requirements.

Officials said Rahman had been able to work nonstop by taking rest periods when things slowed down.

“He consistently worked 15 hours a day and sometimes more, which is not uncommon for some physicians during parts of their career, particularly if they can be on call,” noted Marengo.

“Although the hospital is generally busy, his on-call responsibilities in the inpatient unit allowed him periods of rest when there was down time.”

All that time, of course, the OT was accumulating.

Rahman held a full-time post in the child and adolescent outpatient clinic, when he volunteered to work overtime virtually around-the-clock as an on-call attending psychiatrist for hospitalized patients.

Last year, when the HHC beefed up the psychiatric staff at Kings County, Rahman’s overtime was reduced to 1,959 hours, or an average of 38 hours a week. His gross income fell to $438,000.