Riyad as-Salihin 926: On what should be said when a Person Dies

Abu Sa‘ad relates that the Holy Prophet said: When a child of a servant of Allah dies, Allah inquires from His angels: Have you taken into custody the soul of the child of My servant? They answer: Yes. Then He inquires: Have you taken into custody the soul of the flower of his heart? They answer: Yes. Then He inquires: Then what did My servant say? They answer: He praised Thee and affirmed: To Allah we belong and to Him we shall return. On which Allah will say: Build for My servant a mansion in Paradise and name it: The House of Praise (Tirmidhi).

وعن أبي موسي رضي الله عنه أن رسول الله صلى الله عليه وسلم قال‏:‏ إذا مات ولد العبد، قال الله تعالي لملائكته‏:‏ قبضتم ولد عبدي، فيقولون‏:‏ نعم، فيقول‏:‏ قبضتم ثمرة فؤاده، فيقولون‏:‏ نعم‏.‏ فيقول‏:‏ ماذا قال عبدي، فيقولون‏:‏ حمدك واسترجع، فيقول الله تعالى‏:‏ ابنوا لعبدي بيتاً في الجنة، وسموه بيت الحمد‏"‏ ‏(‏‏(‏رواه الترمذي وقال‏:‏ حديث حسن‏)‏‏)‏‏.‏

On what should be said when a Person Dies

10 of 10 left today