It is narrated from Sayyiduna Wathilah bin al-Asqa' (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Among the greatest of lies is that a person attributes to me what I did not say, that he shows his eyes in sleep what they did not see, and that he claims descent from someone other than his father."
In the narration of Imam Ahmad bin Hanbal (may Allah have mercy on him), the Messenger of Allah (peace and blessings be upon him) said: "The greatest lie is that a man lies about his eyes, saying: 'I saw,' when he did not see; or lies about his parents; or says: '(The Prophet (peace and blessings be upon him)) told me directly,' when he did not tell him." Imam al-Hakim (may Allah have mercy on him) recorded it in al-Mustadrak and said: "This hadith is sahih according to the conditions of the two Shaykhs, and they did not record it."
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب التعبير / 6027
Hadith Gradingمحدثین:سكت عنه البوصيري، إسناده حسن، وأصله في صحيح البخاري
Hadith Takhrij«محمد بن عجلان صدوق؛ سعيد بن أبي أيوب ثقة؛ عبد الواحد بن عبد الله النصري ثقة (من الحفظ)؛ وأخرجه البخاري من طريق حريز عن عبد الواحد عن واثلة» «(6027/1) أخرجه صحيح البخاري برقم: 3318، وأخرجه مسند أحمد برقم: 16535، وأخرجه فتح الباري برقم: 3318، 6636، وأخرجه المستدرك على الصحيحين برقم: 8265، وأخرجه مسند الإمام الشافعي برقم: 1807» «(6027/2) أخرجه صحيح البخاري برقم: 3318، وأخرجه مسند أحمد برقم: 15578، وأخرجه فتح الباري برقم: 3318، 6636، وأخرجه المستدرك على الصحيحين برقم: 8265، وأخرجه صحيح ابن حبان برقم: 32»