عَنْ ابْنِ عُمَرَ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مَنْ كَانَ حَالِفًا فَلَا يَحْلِفْ إِلَّا بِاللَّهِ وَكَانَتْ قُرَيْشٌ تَحْلِفُ بِآبَائِهَا فَقَالَ لَا تَحْلِفُوا بِآبَائِكُمْ(نسائی:۳۷۹۵)
Translation
Hazrat Ibn Umar (R.A) narrates that the Messenger of Allah (PBUH) said: "Whoever wishes to take an oath should not swear by anyone except Allah Almighty." The Quraish used to swear by their forefathers, therefore he said: "Do not swear by your forefathers."