Section 134 of The Bharatiya Sakshya Adhiniyam :Confidential communication with legal advisers.

Confidential communication with legal advisers. The Bharatiya Sakshya Adhiniyam 2023
No one shall be compelled to disclose to the Court any confidential communication which has taken place between him and his legal adviser, unless he offers himself as a witness, in which case he may be compelled to disclose any such communications as may appear to the Court necessary to be known in order to explain any evidence which he has given, but no others