Sayyidina Abu Hurayrah (RA) reported that Allah’s Messenger (SAW) said, “Indeed, the noble, son of the noble son of the noble, son of the noble was Yusuf son of Ya’qub son of Ishaq son of Ibrahim.” He also said, “If I were in prison as long as Yusuf was in prison and a messenger (of the king) had come I would have responded positively.” He then recited: So, when the messenger came to him, he said, “Go back to your lord and ask him, ‘What about the women who cut their hands?’” (12 :50) He then said, “And may Allah’s mercy be on Lot. He wished to get shelter in a strong fort. And, Allah did not send a Prophet after him but from the crest of his (own) people.”
[Ahmed 8399, Bukhari 3375, Muslim 151,lMuslim 4026)
--------------------------------------------------------------------------------