Al-Imām al-Bukhārī narrates: Makkī ibn Ibrāhīm narrated to us; he said: Yazīd ibn Abī ‘Ubayd narrated to us;
from Salamah ibn al-Akwa’ (may Allāh Almighty be content with him), who said: “I heard the Prophet ﷺ say: ‘Whoever attributes to me something that I did not say, let him prepare his seat in the Fire.’”
حَدَّثَنَا مَكِّيُّ بْنُ إِبْرَاهِيمَ قَالَ: حَدَّثَنَا يَزِيدُ بْنُ أَبِي عُبَيْدٍ، عَنْ سَلَمَةَ قَالَ: سَمِعْتُ النَّبِيَّ ﷺ يَقُولُ
مَنْ يَقُلْ عَلَيَّ مَا لَمْ أَقُلْ، فَلْيَتَبَوَّأْ مَقْعَدَهُ مِنَ النَّارِ.
Reference: Sahih Al Bukhari 109