وأما غيبة يوسف عليه السلام فإنها كانت عشرين سنة لم يدهن فيها ولم يكتحل ولم يتطيب لم يمس النساء حتى جمع الله ليعقوب شمله وجمع بين يوسف وإخوته وأبيه وخالته، كان منها ثلاثة أيام في الجب، وفى السجن بضع سنين، وفي الملك باقي سنية. وكان هو بمصر ويعقوب بفلسطين، وكان بينهما مسيرة تسعة أيام فاختلفت عليه الأحوال في غيبته من إجماع إخوته على قتله ثم إلقائهم إياه في غيابت الجب، ثم بيعهم إياه بثمن بخس دراهم معدودة، ثم بلواه بفتنة امرأة العزيز، ثم بالسجن بضع سنين، ثم صار إليه بعد ذلك ملك مصر، وجمع الله - تعالى ذكره - شمله وأراده تأويل رؤياه.
The period of the occultation of Prophet Yusuf (as) was that of twenty years. During this time he never applied oil to his hair, did not use Kohl and perfume and didn’t touch a woman till the time the Almighty Allah once more gathered the scattered family of Yaqoob and brought together Yusuf, his brothers, his father and maternal aunt. Of these twenty years he was in the well for three days and in the prison for some years. And for the remaining years he was the ruler. He was in Egypt while Yaqoob (as) was in Palestine and the distance between them was only nine days of travel. He passed through various circumstances during the period of his occultation. Sometimes his brothers united to eliminate him and later changed the plan and decided to throw him down the well. Then they sold him as a slave for a minor sum of money. After that he was involved in the deceit and plot of the wife of the Egyptian king. Then he was forced to live in imprisonment for some years. After that he became the ruler of Egypt and in this way the Almighty Allah reunited his family and fulfilled the vision he had seen.