Messenger of Allah ﷺ said, "Verily, one of the worst lies is to claim falsely to be the son of someone other than one's real father, or to claim to have had a dream one has not had, or to attribute to me what I have not said."
قَالَ رَسُولُ اللَّهِ ﷺ إِنَّ مِنْ أَعْظَمِ الْفِرَى أَنْ يَدَّعِيَ الرَّجُلُ إِلَى غَيْرِ أَبِيهِ أَوْ يُرِيَ عَيْنَهُ مَا لَمْ تَرَ أَوْ يَقُولُ عَلَى رَسُولِ اللَّهِ ﷺ مَا لَمْ يَقُلْ