The Book of Zuhd and Softening of Hearts
Ṣaḥīḥ Muslim 7510
لاَ تَكْتُبُوا عَنِّي وَمَنْ كَتَبَ عَنِّي غَيْرَ الْقُرْآنِ فَلْيَمْحُهُ وَحَدِّثُوا عَنِّي وَلاَ حَرَجَ وَمَنْ كَذَبَ عَلَىَّ - قَالَ هَمَّامٌ أَحْسِبُهُ قَالَ - مُتَعَمِّدًا فَلْيَتَبَوَّأْ مَقْعَدَهُ مِنَ النَّارِ
lā taktubūā ʿannī waman kataba ʿannī ghayra al-qurāni falyamḥuhu waḥaddithūā ʿannī walā ḥaraja waman kadhaba ʿalāa-qāla hammāmun aḥsibuhu qāla-mutaʿammidan falyatabawwaʾ maqʿadah mina an-nāri
Transliteration generated from the Arabic vowel marks
The full narration
Abu Sa'id Khudri reported that Allah's Messenger (ﷺ) said:Do not take down anything from me, and he who took down anything from me except the Qur'an, he should efface that and narrate from me, for there is no harm in it and he who attributed any falsehood to me-and Hammam said: I think he also said:" deliberately" -he should in fact find his abode in the Hell-Fire
Source
Ṣaḥīḥ Muslim · 7510