Sunan an Nasai 3765
The Book of Agriculture
أَخْبَرَنِي زِيَادُ بْنُ أَيُّوبَ، قَالَ حَدَّثَنَا ابْنُ عُلَيَّةَ، قَالَ حَدَّثَنَا يَحْيَى بْنُ أَبِي إِسْحَاقَ، قَالَ حَدَّثَنِي رَجُلٌ، مِنْ بَنِي غِفَارٍ فِي مَجْلِسِ سَالِمِ بْنِ عَبْدِ اللَّهِ قَالَ سَالِمُ بْنُ عَبْدِ اللَّهِ سَمِعْتُ عَبْدَ اللَّهِ، - يَعْنِي ابْنَ عُمَرَ - وَهُوَ يَقُولُ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " إِنَّ اللَّهَ يَنْهَاكُمْ أَنْ تَحْلِفُوا بِآبَائِكُمْ " .
Yahya bin Abi Ishaq said:"A man from Banu Ghifar told me, in the gathering of Salim bin 'Abdullah, Salim bin 'Abdullah said: 'I heard 'Abdullah -that is, Ibn 'Umar- say: "The Messenger of Allah said: 'Allah forbids you to swear by your forefathers
Grading: Abu Ghuddah: Sahih · Al-Albani: Sahih · Zubair Ali Zai: Isnaad Sahih
Text from the public-domain hadith-api dataset. Numbering follows that dataset and can differ by a few from some printed editions — check the wording, not only the number.