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.
ahmad:1861Hushaym > Abū Bishr > Saʿīd b. Jubayr > Ibn ʿAbbās

[Machine] That a woman rode the sea and vowed that if Allah, the Blessed and Exalted, saved her, she would fast for a month. So Allah saved her and she did not fast until she died. Then her relative came to the Prophet ﷺ and mentioned this to him, so he said, "Fast for her."  

أحمد:١٨٦١حَدَّثَنَا هُشَيْمٌ عَنْ أَبِي بِشْرٍ عَنْ سَعِيدِ بْنِ جُبَيْرٍ عَنِ ابْنِ عَبَّاسٍ

أَنَّ امْرَأَةً رَكِبَتِ الْبَحْرَ فَنَذَرَتْ إِنِ اللهُ تَبَارَكَ وَتَعَالَى أَنْجَاهَا أَنْ تَصُومَ شَهْرًا فَأَنْجَاهَا اللهُ ﷻ فَلَمْ تَصُمْ حَتَّى مَاتَتْ فَجَاءَتْ قَرَابَةٌ لَهَا إِلَى النَّبِيِّ ﷺ فَذَكَرَتْ ذَلِكَ لَهُ فَقَالَ صُومِي  


See similar narrations below:

Collected by Abū Dāwūd
abudawud:3308ʿAmr b. ʿAwn > Hushaym > Abū Bishr > Saʿīd b. Jubayr > Ibn ʿAbbās > Āmraʾah Rakibat al-Baḥr Fanadharat In Najjāhā Allāh

A woman made a voyage and vowed that she would fast one month if Allah made her reach her destination with peace and security. Allah made her reach her destination with security but she died before she could fast. Her daughter or sister (the narrator doubted) came to the Messenger of Allah ﷺ. So he commanded to fast on her behalf.  

أبو داود:٣٣٠٨حَدَّثَنَا عَمْرُو بْنُ عَوْنٍ أَخْبَرَنَا هُشَيْمٌ عَنْ أَبِي بِشْرٍ عَنْ سَعِيدِ بْنِ جُبَيْرٍ عَنِ ابْنِ عَبَّاسٍ

أَنَّ امْرَأَةً رَكِبَتِ الْبَحْرَ فَنَذَرَتْ إِنْ نَجَّاهَا اللَّهُ أَنْ تَصُومَ شَهْرًا فَنَجَّاهَا اللَّهُ فَلَمْ تَصُمْ حَتَّى مَاتَتْ فَجَاءَتِ ابْنَتُهَا أَوْ أُخْتُهَا إِلَى رَسُولِ اللَّهِ ﷺ فَأَمَرَهَا أَنْ تَصُومَ عَنْهَا