Before he died, Jacob advised his children to adhere to the teachings of Islam, the religion of all of Allah's prophets. Allah the Almighty revealed: Or were you witnesses when death approached Jacob? When he said unto his sons: "What will you worship after me?" They said: "We shall worship your Ilah (God - Allah) the Ilah (God) of your fathers. Abraham, Ishmael, Isaac, One Ilah (God), and to Him we submit (in Islam)." Surah 2: 133
Joseph , at the moment of his death, asked his brothers to bury him beside his forefathers if they were to leave Egypt. So when Joseph passed away, he was mummified and placed in a coffin until such a time as he could be taken out of Egypt and buried beside his forefathers, as he had requested. It was said that he died at the age of one hundred ten.
Related Quran Ayaaths of this Hadith.
Surah 6 : Ayah 84 Surah 12 : Ayah 96 Surah 12 : Ayah 99 Surah 12 : Ayah 100 Surah 12 : Ayah 102 Surah 12 : Ayah 111"When a person dies, his works end, except for three: ongoing charity, knowledge that is benefited from, and a righteous child who prays for him."
Prophet Mohammed (PBUH)
"The best of what a man leaves behind are three: a righteous child who supplicates for him, ongoing charity the reward of which reaches him, and knowledge that is acted upon after him."
Sunan Ibn Mājah
"Every day two angels come down from Heaven and one of them says, 'O Allah! Compensate every person who spends in Your Cause,' and the other (angel) says, 'O Allah! Destroy every miser.'"
Sahih Bukhari