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.
nasai-kubra:4712Muḥammad b. Manṣūr > Sufyān > Abū al-Zaʿrāʾ from his uncle Abū al-Aḥwaṣ from his father

"I said: 'O Messenger of Allah, I have a cousin, and I come to him and ask him (for help) but he does not give me anything, and he does not uphold the ties of kinship with me. Then, when he needs me, he comes to me and asks me (for help). I swore that I would not give him anything, nor uphold the ties of kinship with him.' He commanded me to do that which is better and to offer expiation for my oath." (Using translation from Nasāʾī 3788)  

الكبرى للنسائي:٤٧١٢أَخْبَرَنَا مُحَمَّدُ بْنُ مَنْصُورٍ عَنْ سُفْيَانَ قَالَ حَدَّثَنَا أَبُو الزَّعْرَاءِ عَنْ عَمِّهِ أَبِي الْأَحْوَصِ عَنْ أَبِيهِ قَالَ

قُلْتُ يَا رَسُولَ اللهِ أَرَأَيْتَ ابْنَ عَمٍّ آتِيهِ أَسْأَلُهُ فَلَا يُعْطِينِي وَلَا يَصِلُنِي ثُمَّ يَحْتَاجُ إِلَيَّ فَيَأْتِينِي فَيَسْأَلُنِي وَقَدْ حَلَفْتُ أَلَّا أُعْطِيَهُ وَلَا أَصِلُهُ «فَأَمَرَنِي أَنْ آتِيَ الَّذِي هُوَ خَيْرٌ وَأُكَفِّرَ عَنْ يَمِينِي»  


See similar narrations below:

Collected by Nasāʾī
nasai:3788Muḥammad b. Manṣūr > Sufyān > Abū al-Zaʿrāʾ from his uncle Abū al-Aḥwaṣ from his father

"I said: 'O Messenger of Allah, I have a cousin, and I come to him and ask him (for help) but he does not give me anything, and he does not uphold the ties of kinship with me. Then, when he needs me, he comes to me and asks me (for help). I swore that I would not give him anything, nor uphold the ties of kinship with him.' He commanded me to do that which is better and to offer expiation for my oath."  

النسائي:٣٧٨٨أَخْبَرَنَا مُحَمَّدُ بْنُ مَنْصُورٍ عَنْ سُفْيَانَ قَالَ حَدَّثَنَا أَبُو الزَّعْرَاءِ عَنْ عَمِّهِ أَبِي الأَحْوَصِ عَنْ أَبِيهِ قَالَ

قُلْتُ يَا رَسُولَ اللَّهِ أَرَأَيْتَ ابْنَ عَمٍّ لِي أَتَيْتُهُ أَسْأَلُهُ فَلاَ يُعْطِينِي وَلاَ يَصِلُنِي ثُمَّ يَحْتَاجُ إِلَىَّ فَيَأْتِينِي فَيَسْأَلُنِي وَقَدْ حَلَفْتُ أَنْ لاَ أُعْطِيَهُ وَلاَ أَصِلَهُ فَأَمَرَنِي أَنْ آتِيَ الَّذِي هُوَ خَيْرٌ وَأُكَفِّرَ عَنْ يَمِينِي