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.