The hosts won the three-Test series 1-0 but were heading for an unlikely second victory, with Pakistan 162-7 chasing 374, before bad light stopped play.
India declared their second innings on 284-6 with Sourav Ganguly (91) and Dinesh Karthik (52) doing the damage.
Captain Anil Kumble then took 5-61 to give India a sniff of the win.
But with 13 overs lost because of the gloom, the leg-spinner might rue not declaring earlier.
Pakistan raced to 23-0 at tea as they went through the motions of chasing, but the game appeared to be up soon after.
Kumble deceived Yasir Hameed (39) with a quicker ball and then caught Younus Khan (0) off his own bowling three deliveries later.
The skipper struck for a third time to remove Salman Butt for eight after the opener edged behind to wicket-keeper Karthik but Pakistan's Faisal Iqbal and Misbah-ul-Haq stuck around to put on a bit of a show for the patient crowd.