Abu Umama reported,

A man approached the Messenger of Allah ﷺ at the first pillar and asked, "Messenger of Allah, which jihad is best?"The Prophet remained silent.When he reached the second pillar, the man asked him again, but he stayed silent.After he had stoned the pillar at Uqba and placed his foot in the stirrup to mount his ride, he said, "Where is the one who was asking?"The man replied, "Here I am, Messenger of Allah."He said, "A word of truth spoken before a tyrannical ruler."

Ibn Majah 4012

Hasan

حدثنا راشد بن سعيد الرملي حدثنا الوليد بن مسلم حدثنا حماد بن سلمة عن أبي غالب

عن أبي أمامة قال

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

ابن ماجه 4012حسن
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Tribulations
Chapter
Enjoining good and forbidding evil
Numbering
Darussalam 4012
Ibn Majah 4012