Bulugh al-Maram 1374
عَنِ ابْنِ عُمَرَ رَضِيَ اللَّهُ عَنْهُمَا, - عَنْ رَسُولِ اللَّهِ - صلى الله عليه وسلم - أَنَّهُ أَدْرَكَ عُمَرَ بْنَ الْخَطَّابِ فِي رَكْبٍ, وَعُمَرَ يَحْلِفُ بِأَبِيهِ, فَنَادَاهُمْ رَسُولُ اللَّهِ - صلى الله عليه وسلم: «أَلَا إِنَّ اللَّهَ يَنْهَاكُمْ أَنْ تَحْلِفُوا بِآبَائِكُمْ, فَمَنْ كَانَ حَالِفًا فَلْيَحْلِفْ بِاللَّهِ, أَوْ لِيَصْمُتْ». مُتَّفَقٌ عَلَيْهِ.
From Ibn ʿUmar, may Allah be pleased with them both, from the Messenger of Allah ﷺ, that he caught up with ʿUmar ibn al-Khattab among a group of riders, and ʿUmar was swearing by his father. The Messenger of Allah ﷺ called out to them: "Indeed, Allah forbids you to swear by your fathers. Whoever swears, let him swear by Allah or keep silent." Agreed upon.