Tariq ibn Shihab reported: A man asked the Prophet, peace and blessings be upon him, while he had his leg in the stirrup, “Which jihad is best?” The Prophet said, “A word of truth before a tyrannical ruler.”
Source: Sunan al-Nasā’ī 4209
Grade: Sahih (authentic) according to Al-Nawawi
عَنْ طَارِقِ بْنِ شِهَابٍ أَنَّ رَجُلًا سَأَلَ النَّبِيَّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ وَقَدْ وَضَعَ رِجْلَهُ فِي الْغَرْزِ أَيُّ الْجِهَادِ أَفْضَلُ قَالَ كَلِمَةُ حَقٍّ عِنْدَ سُلْطَانٍ جَائِرٍ
4209 سنن النسائي كتاب البيعة فضل من تكلم بالحق عند إمام جائر
117 المحدث النووي خلاصة حكم المحدث إسناده صحيح في رياض الصالحين