The Messenger of Allah ﷺ said, "Whoever lies about me," I think he said, "deliberately, let him take his seat in the Fire."
حدثنا قتيبة حدثنا الليث بن سعد عن ابن شهاب
قال رسول الله ﷺ من كذب علي حسبت أنه قال متعمدا فليتبوأ بيته من النار
[sahih] and Ibn Majah narrated it in the Introduction, chapter "The Severity of Deliberately Lying about the Messenger of Allah," hadith 32, from the hadith of Layth bin Saad with the same chain.