I heard the Messenger of Allah ﷺ say, "Whoever claims descent from someone other than his father, or attributes himself to people other than his true masters, upon him be the continuous curse of Allah until the Day of Resurrection."
حدثنا سليمان بن عبد الرحمن الدمشقي حدثنا عمر بن عبد الواحد عن عبد الرحمن بن يزيد بن جابر قال حدثني سعيد بن أبي سعيد ونحن ببيروت
سمعت رسول الله ﷺ يقول من ادعى إلى غير أبيه أو انتمى إلى غير مواليه فعليه لعنة الله المتتابعة إلى يوم القيامة