Ibn Abbas reported: The Prophet, peace and blessings be upon him, said, “Verily, the believer is in good shape in every situation. He praises Allah Almighty even while his soul is taken out of his body.”
Source: Musnad Aḥmad 2475
Grade: Sahih (authentic) according to Ahmad Shakir
عَنِ ابْنِ عَبَّاسٍ عَنْ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ إِنَّ الْمُؤْمِنَ بِكُلِّ خَيْرٍ عَلَى كُلِّ حَالٍ إِنَّ نَفْسَهُ تَخْرُجُ مِنْ بَيْنِ جَنْبَيْهِ وَهُوَ يَحْمَدُ اللهَ عَزَّ وَجَلَّ
2475 مسند أحمد
4/158 المحدث أحمد شاكر خلاصة حكم المحدث إسناده صحيح في مسند أحمد