وَعَنْ عَبْدِ اللهِ ، قَالَ : سَمِعَ رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ عُمَرَ وَهُوَ يَحْلِفُ بِأَبِيهِ - وَهُوَ فِي رَكْبٍ يَسِيرُ مَعَهُمْ - فَنَادَاهُمْ ، فَقَالَ رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ : إِنَّ اللهَ يَنْهَاكُمْ أَنْ تَحْلِفُوا بِآبَائِكُمْ ، فَمَنْ كَانَ حَالِفًا ، فَلْيَحْلِفْ بِاللهِ أَوْ لِيَصْمُتْ .
It is narrated from Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) heard Sayyiduna Umar (may Allah be pleased with him) swearing by his father while he was travelling with them in a caravan. So he (peace and blessings be upon him) called out to them and said: "Indeed, Allah Almighty forbids you from swearing by your fathers. So whoever must swear, let him swear only by Allah, or else remain silent."