Thawban reported,

The Messenger of Allah ﷺ said, "A group from my nation will continue to prevail upon the truth. Those who abandon them will not harm them, until the command of Allah comes while they remain in that state."The phrase "while they remain in that state" is not in the narration of Qutayba.

Muslim 4950

Sahih

حدثنا سعيد بن منصور وأبو الربيع العتكي وقتيبة بن سعيد قالوا حدثنا حماد وهو ابن زيد عن أيوب عن أبي قلابة عن أبي أسماء

عن ثوبان قال

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

مسلم 4950صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Leadership
Chapter
His saying ﷺ, "A group of my ummah will always remain victorious upon the truth, unharmed by those who oppose them"
Numbering
Darussalam 4950
Muslim 4950