It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "I have been sent with the sword close before the Hour, so that Allah Almighty alone is worshipped, Who has no partner; my provision has been placed under the shade of my spear; humiliation and disgrace have been decreed for whoever opposes my command; and whoever imitates a people is one of them." Imam Abu Ya'la and Imam Ahmad bin Hanbal narrated this hadith in their Musnads. Imam Abu Dawud narrated only this part of it in the Book of Clothing of his Sunan: "And whoever imitates a people is one of them," and remained silent about it, which means that this hadith is, in his view, fit to be used as evidence and acted upon. Imam Ahmad narrated the rest of the text in full, apart from the words about imitation, and Muhammad bin Yazid al-Wasiti also related a report of similar meaning.
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب سيرة سيدنا رسول الله صلى الله عليه وسلم / 4534
Hadith Gradingمحدثین:سكت عنه البوصيري، إسناده حسن
Hadith Takhrij«عبد الرحمن بن ثابت بن ثوبان: صدوق يخطئ وتغير بأخرة (التقريب، من الحفظ)؛ حسان بن عطية: ثقة، وأبو منيب الجرشي: ثقة (من الحفظ)؛ وسكت عليه أبو داود.» «(4534/1) أخرجه مسند أحمد برقم: 5094، وأخرجه فتح الباري برقم: 2757، وأخرجه مجمع الزوائد ومنبع الفوائد برقم: 9379، 9897، وأخرجه شرح مشكل الآثار برقم: 230» «(4534/2) أخرجه مسند أحمد برقم: 5093، وأخرجه مجمع الزوائد ومنبع الفوائد برقم: 9379، 9897، وأخرجه البحر الزخار المعروف بمسند البزار 10 - 18 برقم: 8606»