(8) باب مَا جَاءَ فِي كَرَاهِيَةِ الْحَلِفِ بِغَيْرِ اللَّهِ
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."
Reference: Jami` at-Tirmidhi 1534
In-book reference: Book 20, Hadith 12
English translation: Vol. 3, Book 18, Hadith 1534