Sahih al-Bukhari 109
Book 3: Knowledge · Narrated by Salama
Arabic
حَدَّثَنَا مَكِّيُّ بْنُ إِبْرَاهِيمَ، قَالَ حَدَّثَنَا يَزِيدُ بْنُ أَبِي عُبَيْدٍ، عَنْ سَلَمَةَ، قَالَ سَمِعْتُ النَّبِيَّ صلى الله عليه وسلم يَقُولُ " مَنْ يَقُلْ عَلَىَّ مَا لَمْ أَقُلْ فَلْيَتَبَوَّأْ مَقْعَدَهُ مِنَ النَّارِ ".
English translation
Narrated Salama:I heard the Prophet (ﷺ) saying, "Whoever (intentionally) ascribes to me what I have not said then (surely) let him occupy his seat in Hell-fire
Reference: Sahih al-Bukhari 109, Book of Knowledge. English translation by Dr. Muhammad Muhsin Khan.