Jami` at-Tirmidhi, Book 33, Hadith 17 (Tirmidhi 2242)

Abu Sa'eed Al-Khudri narrated that the Prophet (s.a.w) said:

"Indeed, among the greatest types of Jihad is a just statement before a tyrannical ruler."