The Indian Evidence Act, 1872
Chapter 10 Of The Examination of Witnesses
Section 158: What matters may be proved in connection with proved statement relevant under section 32 or 33
Whenever any statement, relevant under section 32 or 33, is proved, all matters may be proved either in order to contradict or to corroborate it, or in order to impeach or confirm the credit of the person by whom it was made, which might have been proved if that person had been called as a witness and had denied upon cross-examination of the truth the matter suggested.