It is narrated from Sayyiduna Abdullah bin Amr (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) said: "Whoever claims affiliation to someone other than his patrons (the masters who freed him) will not even find the fragrance of Paradise, although its fragrance can be perceived from a distance of seventy years' travel." Then, when he saw the son of Nu'aym bin Abi Umayyah, whom Sayyiduna Mu'awiyah (may Allah be pleased with him) had intended to affiliate (to himself), he said to Sayyiduna Mu'awiyah (may Allah be pleased with him): "I am only an arrow from your quiver." Imam Ibn Majah recorded this hadith in his Sunan by way of Abd al-Karim from Mujahid and mentioned it likewise, except that in it a distance of "five hundred years" is mentioned; it also has these words: "Whoever claims affiliation to someone other than his father", and the incident of Nu'aym's son is not mentioned in it to the end. Supporting narrations (shawahid) of this hadith exist in the two Sahihs and other books of hadith among the narrations of Sayyiduna Abu Bakrah (may Allah be pleased with him) and other noble Companions.
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب الحدود / 3551
Hadith Gradingمحدثین:سكت عنه البوصيري، إسناده صحيح
Hadith Takhrij«غندر وشعبة والحكم بن عتيبة ومجاهد ثقات (من الحفظ)؛ وأصل الوعيد على من ادعى إلى غير أبيه في الصحيحين من حديث أبي بكرة وسعد»