Saeed bin Jubayr reported,

Ibn Umar came out to us, and a man asked, "What is your view on fighting in times of civil strife?"Ibn Umar replied, "Do you even know what fitnah is? Muhammad ﷺ fought the polytheists, and engaging them was a trial. It was nothing like your fighting for the sake of kingship."

Bukhari 4651

Sahih

حدثنا أحمد بن يونس حدثنا زهير حدثنا بيان أن وبرة حدثه قال حدثني

سعيد بن جبير قال

خرج علينا أو إلينا ابن عمر فقال رجل كيف ترى في قتال الفتنة فقال وهل تدري ما الفتنة كان محمد ﷺ يقاتل المشركين وكان الدخول عليهم فتنة وليس كقتالكم على الملك

البخاري 4651صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Tafsir
Chapter
Fight them until there is no fitnah
Numbering
Darussalam 4651
Bukhari 4651