Sunan an-Nasa'i, Volume 4, Book 35, Hadith 3823 (DarusSalam) ⓘ
'Amr bin Shu'aib narrated from his father, from his grandfather, that the Messenger of Allah said: "There is no vow and no oath concerning that which one does not possess, nor to commit sin, nor to sever the ties of kinship."
أَخْبَرَنَا إِبْرَاهِيمُ بْنُ مُحَمَّدٍ، قَالَ حَدَّثَنَا يَحْيَى، عَنْ عُبَيْدِ اللَّهِ بْنِ الأَخْنَسِ، قَالَ أَخْبَرَنِي عَمْرُو بْنُ شُعَيْبٍ، عَنْ أَبِيهِ، عَنْ جَدِّهِ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " لاَ نَذْرَ وَلاَ يَمِينَ فِيمَا لاَ تَمْلِكُ وَلاَ فِي مَعْصِيَةٍ وَلاَ قَطِيعَةِ رَحِمٍ " .
also referenced under: Hadith 3792 (Reference) & Book 35, Hadith 32 (In-Book)