Translation
(22) Oaths and Vows (Kitab Al-Aiman Wa Al-Nudhur)
كتاب الأيمان والنذور
(1239) Chapter: If A Person Dies Owing Fasts, His Heir Should Fast On His Behalf
(26) باب مَا جَاءَ فِيمَنْ مَاتَ وَعَلَيْهِ صِيَامٌ صَامَ عَنْهُ وَلِيُّهُ
Sunan Abi Dawud 3310 
Narrated Ibn 'Abbas:
A woman came to the Prophet (ﷺ) and said (to him) that one month's fast was due from her mother who had died. May I fulfill them on her behalf? He asked: Suppose some debt was due from your mother, would you pay it ? She replied: Yes. He said: So the debt due to Allah is the one which most deserves to be paid.
حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا يَحْيَى، قَالَ سَمِعْتُ الأَعْمَشَ، ح وَحَدَّثَنَا مُحَمَّدُ بْنُ الْعَلاَءِ، حَدَّثَنَا أَبُو مُعَاوِيَةَ، عَنِ الأَعْمَشِ، - الْمَعْنَى - عَنْ مُسْلِمٍ الْبَطِينِ، عَنْ سَعِيدِ بْنِ جُبَيْرٍ، عَنِ ابْنِ عَبَّاسٍ، ‏:‏ أَنَّ امْرَأَةً، جَاءَتْ إِلَى النَّبِيِّ صلى الله عليه وسلم فَقَالَتْ ‏:‏ إِنَّهُ كَانَ عَلَى أُمِّهَا صَوْمُ شَهْرٍ أَفَأَقْضِيهِ عَنْهَا فَقَالَ ‏:‏ ‏"‏ لَوْ كَانَ عَلَى أُمِّكِ دَيْنٌ أَكُنْتِ قَاضِيَتَهُ ‏"‏ ‏.‏ قَالَتْ ‏:‏ نَعَمْ ‏.‏ قَالَ ‏:‏ ‏"‏ فَدَيْنُ اللَّهِ أَحَقُّ أَنْ يُقْضَى ‏"‏ ‏.‏
Grade :  Sahih (Al-Albani) صحيح  (الألباني)حكم :
Reference : Sunan Abi Dawud 3310
In-book reference : Book 22, Hadith 69
English translation : Book 21, Hadith 3304