Sunan an-Nasa'i, Volume 4, Book 35, Hadith 3805 (DarusSalam) ⓘ
It was narrated from 'Abdur-Rahman bin Samurah that the Prophet said: "Do not swear by your forefathers or by false gods (At-Tawaghit)."
أَخْبَرَنَا أَحْمَدُ بْنُ سُلَيْمَانَ، قَالَ حَدَّثَنَا يَزِيدُ، قَالَ أَنْبَأَنَا هِشَامٌ، عَنِ الْحَسَنِ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ سَمُرَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ " لاَ تَحْلِفُوا بِآبَائِكُمْ وَلاَ بِالطَّوَاغِيتِ " .
also referenced under: Hadith 3774 (Reference) & Book 35, Hadith 14 (In-Book)