So the Prophet (peace be upon him) closed his eyes and said,
"When the soul is seized and it leaves the body, the eyes follow it."
Some of Abu Salamah's family wept and wailed, whereupon the Prophet (peace be upon him) said,
"Pray to Allah only for good for yourselves, because the angels (who are present) say 'ameen' to whatever you utter."
Then he said, "O Allah! Forgive Abu Salamah; raise his station among those who are rightly-guided; and take good care of his family that he has left behind. O Lord of the Worlds! Forgive him and us, make his grave spacious, and put light therein for him." (Umm Salamah)
The Prophet (peace be upon him) said,
"The righteous works that continue to benefit a believer after his death include the knowledge that he taught and spread among others, a righteous son (children) whom he leaves behind,
or a copy of the Qur'an that he bequeaths to his inheritors, or a mosque that he builds, or a rest house that he builds for the wayfarers, or a canal of water that he digs for the benefit of others,
or a charity that he gives out of his property during his life while he is sound of health. He will continue to receive reward for all these." (Abu Hurairah)
I guess we all have to prepare well as, death is inevitable.
'Indeed we belong to Allah and to Him is our return.'