Ms Munawar, who was in labour, was admitted to the district woman's hospital on the night of August 14 but was later asked to leave without being examined, SP Saharanpur (Rural) Vidya Sagar Mishra said.
While her husband was taking her in an e-rickshaw to another hospital, she gave birth to the boy in the vehicle.
She was admitted to a private hospital later, he said.
Ms Munawar's husband lodged a complaint with the police and demanded action against the hospital, Mr Mishra said.
A case was lodged in Janapuri Police Station. The matter was being probed, he added.