Sahih al-Bukhari 3387
صحيح البخاري#3387SahihNarrated Abu Huraira:Allah's Messenger (ﷺ) said, "May Allah bestow His Mercy on Lot. He wanted to have a powerful support. If I were to stay in prison (for a period equal to) the stay of Joseph (in prison) and then the offer of freedom came to me, then I would have accepted it." (See Hadith No)
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Every narration in Sahih al-Bukhari is accepted as Sahih (authentic) by the established status of the book.
In-book reference: 60:61