Jasprit Bumrah (5/54) returned with a five-wicket haul but the hosts still managed to eke out a slender seven runs lead in the first innings.
Brief scores:
India: 187 all out in 77 overs.
South Africa: 194 all out in 65.5 overs (Hashim Amla 61, Vernon Philander 35; Jasprit Bumrah 5/54, Bhuvneshwar Kumar 3/44).