The Book of Oaths
كتاب الأيمان
Read the English translation first, with the original Arabic directly underneath.
The prohibition of persisting in an oath that will harm the family of the one who swears it, so long as not persisting in it does not involve anything unlawful
Ibn 'Umar heard Allah's Messenger (ﷺ) as saying:
He who has to take an oath, he must not take oath but by Allah. The Quraish used to take oath by their fathers. So he (the Prophet) said: Do not take oath by your fathers.
وَحَدَّثَنَا يَحْيَى بْنُ يَحْيَى، وَيَحْيَى بْنُ أَيُّوبَ، وَقُتَيْبَةُ، وَابْنُ، حُجْرٍ قَالَ يَحْيَى بْنُ يَحْيَى أَخْبَرَنَا وَقَالَ الآخَرُونَ، حَدَّثَنَا إِسْمَاعِيلُ، - وَهُوَ ابْنُ جَعْفَرٍ - عَنْ عَبْدِ اللَّهِ بْنِ دِينَارٍ، أَنَّهُ سَمِعَ ابْنَ عُمَرَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " مَنْ كَانَ حَالِفًا فَلاَ يَحْلِفْ إِلاَّ بِاللَّهِ " . وَكَانَتْ قُرَيْشٌ تَحْلِفُ بِآبَائِهَا فَقَالَ " لاَ تَحْلِفُوا بِآبَائِكُمْ " .