I used to write down everything I heard from the Messenger of Allah ﷺ, wanting to memorize it. The Quraysh forbade me, saying, "Do you write down everything you hear from the Messenger of Allah ﷺ? The Messenger of Allah ﷺ is a human being who speaks in anger and in pleasure."So I held back from writing and mentioned this to the Messenger of Allah ﷺ. He pointed with his finger to his mouth and said, "Write. By the One in whose hand is my soul, nothing comes out of it except the truth."
كنت أكتب كل شيء أسمعه من رسول الله ﷺ أريد حفظه، فنهتني قريش، وقالوا: لا تكتب كل شيء تسمعه من رسول الله ﷺ، ورسول الله ﷺ بشر يتكلم في الغضب والرضا، فأمسكت عن الكتاب، فذكرت ذلك لرسول الله ﷺ، فأومأ بإصبعه إلى فيه، فقال: اكتب، فو الذي نفسي بيده ما يخرج منه إلا حق.
Abu Dawud (3646) narrated it from Musaddad and Abu Bakr bin Abu Shayba, who both said, "Yahya narrated to us, from Ubaydullah bin Akhnas, from Walid bin Abdullah bin Abu Mughith, from Yusuf bin Mahak, from Abdullah bin Amr," who said (then he related it).Abu Dawud said, "Mumal bin Fadl narrated to us, Walid narrated to us, who said, 'I said to Abu Amr...'" Its chain of transmission is sahih. Yahya here is Ibn Saeed Qattan. From him, Imam Ahmad (6510) narrated it, as did Hakim (1/105-106), who said, "Both of them relied on all these narrators, down to the last one, except this Walid, whom I believe to be Walid bin Abu Walid Shami, that is, Walid bin Abdullah, whose father's kunya became better known than his own name. If that is the case, then Muslim relied on him." End of quote.Dhahabi said in his Talkhis, "If Walid is Ibn Abu Walid Shami, then he meets the standard of Muslim."I say, that is what they both said, but the correct view is that he is Walid bin Abdullah bin Abu Mughith, Abdari, their freedman, from Makkah, as Abu Dawud traced his lineage. He is among the narrators of Abu Dawud and Ibn Majah, and he is trustworthy, Ibn Main and others confirmed his reliability. As for Walid bin Abu Walid Shami, there is no one known by this name, let alone being among the narrators of Muslim. The one from whom Muslim narrated is Walid bin Abu Walid Madani, not Shami, as Hakim claimed, unless one of the narrators mistakenly attributed him to Sham. His father's name is Uthman, not Abdullah.The hadith mentioned was also narrated by Hakim (104-105) through two other routes, from Layth bin Saad Misri, "Khalid bin Yazid narrated to me, from Abdul-Wahid bin Qays, from Abdullah bin Amr," and he related something similar, except that the Prophet ﷺ pointed to his lips and said, "By the One in whose hand is my soul, nothing comes out from between them except truth, so write it down."Hakim said, "This is a hadith with a sahih chain of transmission, a foundational text on the recording of hadith from the Messenger of Allah ﷺ, which the two of them did not include. They both relied on all its narrators except Abdul-Wahid bin Qays, who is an elder from the people of Sham, and his son Umar bin Abdul-Wahid Dimashqi is one of the leading authorities in hadith."