It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) came to one of his daughters while she was in the throes of death. He (peace and blessings be upon him) bent over her and did not raise his head until her soul departed. The narrator said: Then he (peace and blessings be upon him) raised his head and said: "All praise belongs to Allah. The believer is in a state of good; his soul is being drawn out from between his sides while he is praising Allah."
These are the words of Aswad bin Amir (may Allah have mercy on him).
And in the narration of al-Firyabi (may Allah have mercy on him), Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) said: the Prophet (peace and blessings be upon him) reached one of his daughters while she was in the throes of death. He (peace and blessings be upon him) bent over her and remained bent over her until her soul left her. Then he (peace and blessings be upon him) rose from beside her, saying: "All praise belongs to Allah. The believer is in a state of good in every condition; his soul leaves from between his sides while he is praising Allah."