This hadith is narrated from Anas ibn Mālik—may Allah be pleased with him—through several routes.
The first: Sullam ibn Qutaybah narrated from Tuʿmah ibn ʿAmr, from Ḥabīb ibn Abī Thābit, from him, with the same wording. It was recorded by al-Tirmidhī (1/201—Tuḥfah) and Aslam al-Wāsiṭī in Tārīkh Wāsiṭ (p. 40). Al-Tirmidhī said: “This hadith has been narrated from Anas as attributed to the Companion, and I do not know of anyone who attributed it to the Prophet except what Sullam ibn Qutaybah narrated from Tuʿmah ibn ʿAmr. Rather, it is narrated only from Ḥabīb ibn Abī Ḥabīb al-Bajalī, from Anas ibn Mālik, as his own statement.”
I say: It has also been narrated as attributed to the Prophet through another route that al-Tirmidhī did not come across. It is as follows:
The second: Manṣūr ibn Muhājir, Abū al-Ḥasan, narrated to us: Abū Ḥamzah al-Wāsiṭī narrated to us, from Anas ibn Mālik, who said: The Messenger of Allah, peace and blessings be upon him, said—and he then cited it. It was recorded by Aslam al-Wāsiṭī in Tārīkh Wāsiṭ (p. 36), who said: Aḥmad ibn Ismāʿīl narrated to us; he said: Ismāʿīl ibn Marzūq narrated to us; he said: Manṣūr ibn Muhājir narrated to us … He said: “This man—meaning Abū Ḥamzah al-Wāsiṭī—is named Jubayr ibn Maymūn.” That is what he said, but I have not seen this stated by anyone else, nor have I found any narrator named Jubayr ibn Maymūn. Rather, it appears that this Abū Ḥamzah was ʿImrān ibn Abī ʿAṭāʾ al-Qaṣṣāb. Al-Dūlābī said in al-Kunā (1/156): “A native of Wāsiṭ; Shuʿbah and Hushaym narrated from him.”
I say: He was among Muslim’s narrators. He narrated from his father, Ibn ʿAbbās, Anas, and others. A number of scholars deemed him trustworthy, while some declared him weak; thus, his hadith is good, especially when corroborated. As for Manṣūr ibn Muhājir, a number of trustworthy narrators reported from him, including Yaʿqūb ibn Shaybah, but no declaration of his reliability has been mentioned. Therefore, al-Ḥāfiẓ said in al-Taqrīb: