Abdullah Ibn Al-Iman Ahmad Ibn Hanbal narrated that Ubai Ibn Kab said: "When Adam's death was near, he said to his children: '0 my children, indeed, I feel an appetite for the fruits of Paradise.' So they went away searching for what Adam had requested. They met with the angels, who had with them his shroud and what he was to be embalmed with. They said to them: '0 Children of Adam, what are you searching for? What do you want? Where are you going?' They said: 'Our father is sick and has an appetite for the fruits of Paradise.' The angels said to them: 'Go back, for your father is going to meet his end soon.' So they returned (with the angels), and when Eve saw them she recognized them. She tried to hide herself behind Adam. He said to her: 'Leave me alone. I came before you; do not go between me and the angels of my Lord.' So they took his soul, embalmed and wrapped him, dug the grave and laid him in it. They prayed on him and put him in his grave, saying: '0 Children of Adam, this is your tradition at the time of death."'
Before his death Adam reassured his children that Allah would not leave man alone on the earth, but would send His prophets to guide them. The prophets would have different names, traits and miracles, but they would be united in one thing: the call to worship Allah alone.
This was Adam's bequest to his children. Adam finished speaking and closed his eyes. Then the angels entered his room and surrounded him. When he recognized the Angel of Death among them, his heart smiled peacefully.