Al-Kāfi - Volume 7 > The Detestability of Swearing in the form of Denouncing Allah and His Messenger, O Allah, grant compensation to Muhammad and his family worthy of their services to Your cause
Hadith #2

2- مُحَمَّدُ بْنُ يَحْيَى عَنْ مُحَمَّدِ بْنِ الْحُسَيْنِ عَنْ مُحَمَّدِ بْنِ إِسْمَاعِيلَ عَنْ صَالِحِ بْنِ عُقْبَةَ عَنْ يُونُسَ بْنِ ظَبْيَانَ قَالَ قَالَ لِي يَا يُونُسُ لا تَحْلِفْ بِالْبَرَاءَةِ مِنَّا فَإِنَّهُ مَنْ حَلَفَ بِالْبَرَاءَةِ مِنَّا صَادِقاً أَوْ كَاذِباً فَقَدْ بَرِئَ مِنَّا.

2. Muhammad ibn Yahya has narrated from Muhammad ibn al-Husayn from Muhammad ibn ’Isma‘il from Salih ibn ‘Uqbah from Yunus ibn Zabayan who has narrated the following: “He (the Imam), ‘Alayhi al-Salam, said to me, ‘O Yunus, do not swear to disown us, because if one does so, true or false, he is cut off from us.’”