Hadith No: 2
Al-Hakim al-Nishapuri - Al-Mustadrak ala al-Sahihain
Book of Knowledge of the Companions (ra) - The Prophet (peace be upon him and his holy progeny) gathered the People of His House and recited the verse of purification
Volume: (3) - Page Number: (132 > 134)
[The text is lengthy, so only the relevant excerpt is provided here]
4708 - Abu Bakr Ahmad ibn Ja'far ibn Hamdan al-Qutayi narrated to us in Baghdad from his original book, saying: Abdullah ibn Ahmad ibn Hanbal narrated to me, saying: My father narrated to me, saying: Yahya ibn Hammad narrated to us, saying: Abu 'Awaneq narrated to us, saying: Abu Balj
narrated to us, from Amr ibn Maymun, who said:.... Ibn Abbas said: "And the Messenger (peace be upon him and his holy progeny) blocked the doors of the mosque with the exception of Ali's door," so he would enter the mosque in a state of major ritual impurity (janabah), as it was his only way, and he had no other route.