I went in to see Ali along with two other men, one from our group and another from the tribe of Banu Asad. Ali
dispatched the two of them on a mission and said, "You are both strong, capable men, so strive earnestly for your religion."Then he stood up and went into the lavatory. When he came out, he called for water, took a handful, wiped himself with it, and then began reciting the Quran. The people present found this strange, so he said, "The Messenger of Allah ﷺ used to come out of the lavatory and recite the Quran to us, and he would eat meat with us. Nothing kept him from the Quran except major ritual impurity."
حدثنا حفص بن عمر حدثنا شعبة عن عمرو بن مرة
دخلت على علي رضي الله عنه أنا ورجلان رجل منا ورجل من بني أسد أحسب فبعثهما علي رضي الله عنه وجها وقال إنكما علجان فعالجا عن دينكما ثم قام فدخل المخرج ثم خرج فدعا بماء فأخذ منه حفنة فتمسح بها ثم جعل يقرأ القرآن فأنكروا ذلك فقال إن رسول الله ﷺ كان يخرج من الخلاء فيقرئنا القرآن ويأكل معنا اللحم ولم يكن يحجبه أو قال يحجزه عن القرآن شيء ليس الجنابة
[Hasan] Reported by Nasai, Purification, chapter on what prevents someone in a state of major impurity from reciting the Quran, no. 266, and Ibn Majah, no. 594, from the hadith of Shuba, with this wording. Tirmidhi said, no. 146, "Hasan sahih." Ibn Khuzayma graded it sahih, no. 208, as did Ibn Hibban, nos. 192, 193, and Ibn Jarud, no. 94, and Hakim, 4/107, and Dhahabi agreed with him. The hadith has supporting narrations, and Hafiz said, "The truth is that it belongs to the category of hasan and is fit to serve as evidence" (Fath al-Bari, 1/408, no. 305).