"A poor woman in Al-Awali fell sick and the Prophet used to ask them about her. He said: 'If she dies, do not bury her until I have offered the funeral prayer for her. She died and they brought her to Al-Madinah after dark, and they found that the Messenger of Allah had gone to sleep. They did not like to wake him up, so they offered the funeral prayer for her and buried her in Baqi' Al-Gharqab. The next morning they came and the Messenger of Allah asked them about her. They said: 'She has been buried, O Messenger of Allah. We came to you and found you sleeping, and we did not like to wake you up.' He said: 'let's go.' He set out walking and they went with him and showed him her grave. The Messenger of Allah stood and they formed rows behind him, and he offered the funeral prayer for her, saying the Takbir four times." (Using translation from Nasāʾī 1969)
أَنَّهُ اشْتَكَتِ امْرَأَةٌ بِالْعَوَالِي مِسْكِينَةٌ فَكَانَ النَّبِيُّ ﷺ يَسْأَلُهُمْ عَنْهَا فَقَالَ «إِنْ مَاتَتْ فَلَا تَدْفِنُوهَا حَتَّى أُصَلِّيَ عَلَيْهَا» فَتُوُفِّيَتْ فَجَاءُوا بِهَا إِلَى الْمَدِينَةِ بَعْدَ الْعَتَمَةِ فَوَجَدُوا رَسُولَ اللهِ ﷺ قَدْ نَامَ فَكَرِهُوا أَنْ يُوقِظُوهُ فَصَلُّوا عَلَيْهَا وَدَفَنُوهَا بِبَقِيعِ الْغَرْقَدِ فَلَمَّا أَصْبَحَ رَسُولُ اللهِ ﷺ جَاءُوا فَسَأَلَهُمْ عَنْهَا فَقَالُوا قَدْ دُفِنَتْ يَا رَسُولَ اللهِ وَقَدْ جِئْنَاكَ فَوَجَدْنَاكَ نَائِمًا فَكَرِهْنَا أَنْ نُوقِظَكَ فَقَالَ «انْطَلِقُوا فَانْطَلَقَ يَمْشِي وَانْطَلَقُوا مَعَهُ حَتَّى أَرُوهُ قَبْرَهَا فَقَامَ رَسُولُ اللهِ ﷺ وَصَفُّوا وَرَاءَهُ فَصَلُّوا عَلَيْهَا وَكَبَّرَ أَرْبَعًا»