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 remained silent.After he had stoned the pillar of Aqaba and placed his foot in the stirrup to mount, he asked, "Where is the questioner?"The man replied, "Here I am, Messenger of Allah."He said, "A word of truth spoken before a tyrannical ruler."
عرض الرسول الله ﷺ رجل عند الجمرة الأولى، فقال: يا رسول الله أي الجهاد أفضل؟ فسكت عنه، فلما رأى الجمرة الثانية سأله، فسكت عنه، فلما رمى جمرة العقبة، وضع رجله في الغرز ليركب، قال: أين السائل؟ قال: أنا يا رسول الله، قال: كلمة حق عند سلطان جائر.
Ibn Majah (4012) and Ahmad (22158, 22207) both narrated it through various routes from Hammad bin Salama, from Abu Ghalib, from Abu Umama, who related it. Its chain is hasan because of Abu Ghalib, for there is disagreement about him, though his hadith is hasan so long as nothing appears to contradict it.