Riyad as-Salihin

Riyad as-Salihin 194

Enjoining Good and forbidding Evil
Arabic hadith text
الحادي عشر‏:‏ عن أبي سعيد الخدري رضي الله عنه عن النبي صلى الله عليه وسلم قال‏:‏ ‏"‏أفضل الجهاد كلمة عدل عند سلطان جائر‏"‏ ‏(‏‏(‏رواه أبو داود، والترمذي وقال‏:‏ حديث حسن‏)‏‏)‏‏.‏
Translation
Abu Sa'id Al-Khudri (May Allah bepleased with him) reported

The Prophet (ﷺ) said, "The best type of Jihad (striving in the way of Allah) is speaking a true word in the presence of a tyrant ruler."[Abu Dawud and At-Tirmidhi, who categorized it as Hadith Hasan].