Farhat was batting on 73 with skipper Inzamam-ul-Haq on 12 at the other end.
Yasir Hameed was the lone batsman to be dismissed in the first session that saw Indian attack struggle to get breakthroughs on a pitch that had lost its juice and gave little support to bowlers.
Hameed played an expansive cover drive off a widish delivery from Ajit Agarkar and was caught by Rahul Dravid at second slip for 19.
The hosts need 142 runs more to go past India's 287 in the first innings.
Resuming at 61 for one, Pakistan focused on seeing through the morning session without losing wickets.
Their task was more or less accomplished with the left-handed Farhat guiding the innings with an assured knock. Farhat's 73 came off 170 balls with 10 fours.