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.
bayhaqi:8223Abū ʿAbdullāh al-Ḥāfiẓ > Abū al-Faḍl b. Ibrāhīm > Aḥmad b. Salamah > Isḥāq b. Ibrāhīm > ʿĪsá b. Yūnus > al-Aʿmash > Muslim al-Baṭīn > Saʿīd b. Jubayr > Ibn ʿAbbās

[Machine] "A woman came to the Prophet (PBUH) and said, 'Indeed, my mother has died while she had a month of fasting left.' He (PBUH) said, 'Do you think that if she had a debt, you would have paid it off for her?' She said, 'Yes.' So he (PBUH) said, 'The debt of Allah is more deserving of being paid off.'"  

البيهقي:٨٢٢٣أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أنبأ أَبُو الْفَضْلِ بْنُ إِبْرَاهِيمَ ثنا أَحْمَدُ بْنُ سَلَمَةَ ثنا إِسْحَاقُ بْنُ إِبْرَاهِيمَ أنبأ عِيسَى بْنُ يُونُسَ ثنا الْأَعْمَشُ عَنْ مُسْلِمٍ الْبَطِينِ عَنْ سَعِيدِ بْنِ جُبَيْرٍ عَنِ ابْنِ عَبَّاسٍ

أَنَّ امْرَأَةً أَتَتِ النَّبِيَّ ﷺ فَقَالَتْ إِنَّ أُمِّي مَاتَتْ وَعَلَيْهَا صَوْمُ شَهْرٍ فَقَالَ أَرَأَيْتِ لَوْ كَانَ عَلَيْهَا دَيْنٌ أَكُنْتِ تَقْضِينَهُ عَنْهَا؟ فَقَالَتْ نَعَمْ فَقَالَ دَيْنُ اللهِ أَحَقُّ بِالْقَضَاءِ  

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

See similar narrations below:

Collected by Bayhaqī
bayhaqi:8225Abū al-Ḥusayn ʿAlī b. Muḥammad b. ʿAbdullāh b. Bishrān al-ʿAdl> Abū Muḥammad Daʿlaj b. Aḥmad > ʿAbdullāh b. al-a neighborūd > ʿAbdullāh b. Saʿīd > Abū Khālid > al-Aʿmash > al-Ḥakam And Muslim al-Baṭīn And Salamah b. Kuhayl > Saʿīd b. Jubayr Wamujāhid Waʿaṭāʾ > Ibn ʿAbbās

[Machine] A woman came to the Prophet ﷺ and said, "O Messenger of Allah, indeed my sister has passed away and she owed two consecutive months of fasting." He ﷺ said, "Would you have paid off her debt if she had owed money?" She said, "Yes." He said, "Then the right of Allah is more deserving."  

البيهقي:٨٢٢٥كَمَا أَخْبَرَنَا أَبُو الْحُسَيْنِ عَلِيُّ بْنُ مُحَمَّدِ بْنِ عَبْدِ اللهِ بْنِ بِشْرَانَ الْعَدْلُ بِبَغْدَادَ أنبأ أَبُو مُحَمَّدٍ دَعْلَجُ بْنُ أَحْمَدَ ثنا عَبْدُ اللهِ بْنُ الْجَارُودِ ثنا عَبْدُ اللهِ بْنُ سَعِيدٍ ثنا أَبُو خَالِدٍ عَنِ الْأَعْمَشِ عَنِ الْحَكَمِ وَمُسْلِمٍ الْبَطِينِ وَسَلَمَةَ بْنِ كُهَيْلٍ عَنْ سَعِيدِ بْنِ جُبَيْرٍ وَمُجَاهِدٍ وَعَطَاءٍ عَنِ ابْنِ عَبَّاسٍ قَالَ

جَاءَتِ امْرَأَةٌ إِلَى النَّبِيِّ ﷺ فَقَالَتْ يَا رَسُولَ اللهِ إِنَّ أُخْتِي مَاتَتْ وَعَلَيْهَا صِيَامُ شَهْرَيْنِ مُتَتَابِعَيْنِ قَالَ أَرَأَيْتِ لَوْ كَانَ عَلَى أُخْتِكِ دَيْنٌ أَكُنْتِ تَقْضِينَهُ؟ قَالَتْ نَعَمْ قَالَ فَحَقُّ اللهِ أَحَقُّ  

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ عَبْدِ اللهِ بْنِ سَعِيدٍ الْأَشَجِّ وَقَالَ الْبُخَارِيُّ وَيُذْكَرُ عَنْ أَبِي خَالِدٍ فَذَكَرَهُ وَرَوَاهُ شُعْبَةُ عَنِ الْأَعْمَشِ