The Messenger of Allah ﷺ said, "Do not write anything from me, and whoever has written anything from me other than the Quran, let him erase it. Narrate from me, there is no harm in that. But whoever lies about me," Hammam said, "I think he said, 'deliberately,'" "let him take his seat in the Fire."
حدثنا هداب بن خالد الأزدي حدثنا همام عن زيد بن أسلم عن عطاء بن يسار
أن رسول الله ﷺ قال لا تكتبوا عني ومن كتب عني غير القرآن فليمحه وحدثوا عني ولا حرج ومن كذب علي قال همام أحسبه قال متعمدا فليتبوأ مقعده من النار