Abu Hurairah reported,

The Messenger of Allah ﷺ said, "May Allah have mercy on Lut. He sought refuge in a mighty support. Had I remained in prison as long as Yusuf did, I would have answered the one who summoned me. And we have more right to doubt than Ibrahim when Allah said to him, 'Do you not believe?' He said, 'Yes, but only that my heart may be at ease' [Baqarah 2:260]."

Bukhari 4694

Sahih

حدثنا سعيد بن تليد حدثنا عبد الرحمن بن القاسم عن بكر بن مضر عن عمرو بن الحارث عن يونس بن يزيد عن ابن شهاب عن سعيد بن المسيب وأبي سلمة بن عبد الرحمن

عن أبي هريرة رضي الله عنه قال

قال رسول الله ﷺ يرحم الله لوطا لقد كان يأوي إلى ركن شديد ولو لبثت في السجن ما لبث يوسف لأجبت الداعي ونحن أحق من إبراهيم إذ قال له {أولم تؤمن قال بلى ولكن ليطمئن قلبي}

البخاري 4694صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Tafsir
Chapter
His saying, "So when the messenger came to him, he said, 'Return to your master and ask him what is the case of the women who cut their hands. Indeed, my Lord is Aleem of their plot.' He said, 'What was your affair when you sought to seduce Yusuf?' They said, 'Allah forbid'"
Numbering
Darussalam 4694
Bukhari 4694