Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
abudawud:2191Muḥammad b. al-ʿAlāʾ > Abū Usāmah > al-Walīd b. Kathīr > ʿAbd al-Raḥman b. al-Ḥārith

The above tradition has also been transmitted by ‘Amr bin Shu’aib through a different chain of narrators to the same effect. This version adds “If anyone swears an oath to do an act of disobedience to GOD, his oath is not valid, and if anyone swears an oath to sever relationship, his oath is not valid(i.e., he must not fulfill it)  

أبو داود:٢١٩١حَدَّثَنَا مُحَمَّدُ بْنُ الْعَلاَءِ أَخْبَرَنَا أَبُو أُسَامَةَ عَنِ الْوَلِيدِ بْنِ كَثِيرٍ حَدَّثَنِي عَبْدُ الرَّحْمَنِ بْنُ الْحَارِثِ

عَنْ عَمْرِو بْنِ شُعَيْبٍ بِإِسْنَادِهِ وَمَعْنَاهُ زَادَ مَنْ حَلَفَ عَلَى مَعْصِيَةٍ فَلاَ يَمِينَ لَهُ وَمَنْ حَلَفَ عَلَى قَطِيعَةِ رَحِمٍ فَلاَ يَمِينَ لَهُ