Sunan an-Nasa'i, Volume 4, Book 35, Hadith 3799 (DarusSalam) ⓘ
It was narrated from Salim, from his father, that he told him from 'Umar: "The Messenger of Allah said: 'Allah forbids you to swear by your forefathers.'" 'Umar said: "By Allah, I never swore by them again, whether saying it for myself or reporting it of others."
أَخْبَرَنَا عَمْرُو بْنُ عُثْمَانَ بْنِ سَعِيدٍ، قَالَ أَنْبَأَنَا مُحَمَّدٌ، - وَهُوَ ابْنُ حَرْبٍ - عَنِ الزُّبَيْدِيِّ، عَنِ الزُّهْرِيِّ، عَنْ سَالِمٍ، عَنْ أَبِيهِ، أَنَّهُ أَخْبَرَهُ عَنْ عُمَرَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ " إِنَّ اللَّهَ يَنْهَاكُمْ أَنْ تَحْلِفُوا بِآبَائِكُمْ " . قَالَ عُمَرُ فَوَاللَّهِ مَا حَلَفْتُ بِهَا بَعْدُ ذَاكِرًا وَلاَ آثِرًا .
also referenced under: Hadith 3768 (Reference) & Book 35, Hadith 8 (In-Book)