This episode is the th sutta of the Majjhima Nikaya: the Sallekha Sutta - "Self-Effacement" - translated by Bhikkhu Sujato, and narrated by Sol Hanna. In this sutta the Buddha explains methods for developing insight that lead to abandoning doctrines and philosophies which are concocted around the view of self.