The Indian Evidence Act, 1872 is repealed. It was replaced by The Bharatiya Sakshya Adhiniyam, 2023 from 1 July 2024; this provision still applies to matters that arose before then.
No Magistrate or police-officer shall be compelled to say whence he got any information as to the commission of any offence, and no revenue-officer shall be compelled to say whence he got any information as to the commission of any offence against the public revenue.
Explanation.—“Revenue-officer” in this section means any officer employed in or about the business of any branch of the public revenue.]