Abdullah bin Umar reported,

The Messenger of Allah ﷺ said, "Among the worst of fabrications is that a man claims descent from someone other than his true father. Among the worst of fabrications is that a man claims his eyes saw what they did not see. And among the worst of fabrications is that a man attributes to me what I did not say."

Azami 1268

Sahih

عن ابن عمر

أن رسول الله ﷺ قال: من أفرى الفرى من ادعى إلى غير والده، ومن أفرى الفرى من أرى عينيه ما لم تر، ومن أفرى الفرى من قال علي ما لم أقل.

الأعظمي 1268صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Knowledge
Chapter
Warnings in matters of knowledge
Section
Warning against lying about the Prophet ﷺ
Numbering
Jami al-Kamil 1268 (2nd edition)
Azami 1268