That the Messenger of Allah (ﷺ) came across 'Umar while he was on his mount, and he was…

Jami` at-Tirmidhi Book 20 Hadith 12

Jami` at-Tirmidhi #1534

The Book on Vows and Oaths 20:12

Narrated Ibn 'Umar:

That the Messenger of Allah (ﷺ) came across 'Umar while he was on his mount, and he was swearing by his father. So the Messenger of Allah (ﷺ) said: "Verily Allah prohibits you from swearing by your fathers. So let the one who swears, swear by Allah, or be silent."

Chapter: What Has Been Related About It being Disliked To Swear By Other Than Allah

Grade: Sahih (Darussalam)