عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ: ((لَا تَكْتُبُوا عَنِّي شَيْئًا سِوَى الْقُرْآنِ، مَنْ كَتَبَ شَيْئًا سِوَى الْقُرْآنِ فَلْيَمْحُهُ))
It is narrated from Sayyiduna Abu Sa'id Khudri (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Do not write anything from me except the Qur'an. Whoever has written anything other than the Qur'an should erase it."