Hadithcore
Riyad as-Salihin, 843

Wathilah bin Al-Asqa' (May Allah be pleased with him) reported:

Messenger of Allah (ﷺ) said, "Of the worst lies are: to claim a false father, or to pretend to have seen what one has not seen (tell a false dream), or to attribute to the Messenger of Allah (ﷺ) what he has not said." <b>[Al-Bukhari]</b>.

وعن أبى الأسقع واثلة بن الأسقع رضى الله عنه قال‏:‏ قال رسول الله صلى الله عليه وسلم‏:‏ ‏

‏إن من أعظم الفرى أن يدعى الرجل إلى غير أبيه، أو يرى عينيه ما لم تر، أو يقول على رسول الله صلى الله عليه وسلم ما لم يقل‏

‏ ‏((رَوَاهُ البُخَارِيُّ)).

References1 variant
In-Book Reference
Book 4, Hadith 31
Sharh · explanationclick to expand
<b>Guidance from the Hadith:</b><br> 1) Lying with regard to having a (good) dream is a lie with regard to Allah, and that is a major sin. Indeed, telling a lie concerning Allah is not like lies about people.<br> 2) It is prohibited to tell lies with regard to the Prophet (may Allah’s peace and blessings be upon him), which, by extension, is considered lies about Allah Almighty, since the Prophet only spoke by divine revelation.<br> 3) If a person lies and claims to have seen something in a dream, this is one of the worst types of falsehood. A believer should stick to the truth, for it is a means of salvation, and avoid lying, which leads to ruin.