Sahih al-Bukhari, Book 60, Hadith 51 (In-Book) ⓘ
Narrated Abu Huraira: Allah's Messenger said, "We are more liable to be in doubt than Abraham when he said, 'My Lord! Show me how You give life to the dead.". He (i.e. Allah) slid: 'Don't you believe then?' He (i.e. Abraham) said: "Yes, but (I ask) in order to be stronger in Faith." (2.260) And may Allah send His Mercy on Lot! He wished to have a powerful support. If I were to stay in prison for such a long time as Joseph did I would have accepted the offer (of freedom without insisting on having my guiltless less declared).
حَدَّثَنَا أَحْمَدُ بْنُ صَالِحٍ، حَدَّثَنَا ابْنُ وَهْبٍ، قَالَ أَخْبَرَنِي يُونُسُ، عَنِ ابْنِ شِهَابٍ، عَنْ أَبِي سَلَمَةَ بْنِ عَبْدِ الرَّحْمَنِ، وَسَعِيدِ بْنِ الْمُسَيَّبِ، عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ " نَحْنُ أَحَقُّ مِنْ إِبْرَاهِيمَ إِذْ قَالَ {رَبِّ أَرِنِي كَيْفَ تُحْيِي الْمَوْتَى قَالَ أَوَلَمْ تُؤْمِنْ قَالَ بَلَى وَلَكِنْ لِيَطْمَئِنَّ قَلْبِي} وَيَرْحَمُ اللَّهُ لُوطًا، لَقَدْ كَانَ يَأْوِي إِلَى رُكْنٍ شَدِيدٍ وَلَوْ لَبِثْتُ فِي السِّجْنِ طُولَ مَا لَبِثَ يُوسُفُ لأَجَبْتُ الدَّاعِيَ " .
also referenced under: Hadith 3372 (DarusSalam) & Volume 4, Book 55, Hadith 591 (USC-MSA)