Muawiya bin Abu Sufyan reported,

I heard the Messenger of Allah ﷺ say, "Whoever Allah intends good for, He gives him understanding of the religion. This nation will continue to stand firm upon the command of Allah, and those who oppose them will not harm them, until the command of Allah comes while they remain victorious over the people."

Ahmad 16931

Sahih

حدثنا أبو سلمة الخزاعي أخبرنا ليث يعني ابن سعد عن يزيد بن الهاد عن عبد الوهاب بن أبي بكر عن ابن شهاب عن حميد بن عبد الرحمن

عن معاوية بن أبي سفيان قال

سمعت رسول الله ﷺ يقول من يرد الله به خيرا يفقه في الدين ولن تزال هذه الأمة أمة قائمة على أمر الله لا يضرهم من خالفهم حتى يأتي أمر الله وهم ظاهرون على الناس

أحمد 16931صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Muawiya bin Abu Sufyan
Numbering
Darussalam 16931
Ahmad 16931