1066 صحيح حديث عُمَرَ، قَالَ: قَالَ لِي رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ : إِنَّ اللهَ يَنْهَاكُمْ أَنْ تَحْلِفُوا بِآبَائِكُمْ قَالَ عُمَرُ: فَوَاللهِ مَا حَلَفْتُ بِهَا مُنْذَ سَمِعْتُ النَّبِيَّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ ، ذَاكِرًا وَلاَ آثِرًا
Hazrat Umar (may Allah be pleased with him) narrated that the Prophet Muhammad (peace and blessings be upon him) said to me that Allah Almighty has forbidden you from swearing by your forefathers. Hazrat Umar (may Allah be pleased with him) narrated, "By Allah! After I heard this prohibition from the Prophet (peace and blessings be upon him), I never swore by them, neither by anything other than Allah from myself nor by quoting it from someone else's tongue."
1067 صحيح حديث ابْنِ عُمَرَ أَنَّهُ أَدْرَكَ عُمَرَ بْنَ الْخَطَّابِ فِي رَكْبٍ وَهُوَ يَحْلِفُ بِأَبِيهِ، فَنَادَاهُمْ رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ : أَلاَ إِنَّ اللهَ يَنْهَاكُمْ أَنْ تَحْلِفُوا بِآبَائِكُمْ، فَمَنْ كَانَ حَالِفًا فَلْيَحْلِفْ بِاللهِ، وَإِلاَّ فَلْيَصْمُتْ
Hazrat Ibn Umar (may Allah be pleased with them both) came to Hazrat Umar bin Khattab (may Allah be pleased with him), who was with a few horsemen. At that time, Hazrat Umar (may Allah be pleased with him) was swearing by his father. Upon this, the Messenger of Allah (peace and blessings be upon him) called out to him and said, "Be aware! Surely Allah the Pure forbids you from swearing by your forefathers. So if anyone must swear, let him swear by Allah, otherwise he should remain silent."