The Messenger of Allah ﷺ said, "We have more right to doubt than Ibrahim, when he said, 'My Lord, show me how You give life to the dead.' He said, 'Have you not believed?' He said, 'Yes, but only that my heart may be at peace' [Baqarah 2:260]. May Allah have mercy on Lut, for he sought refuge in a strong support. And had I remained in prison as long as Yusuf did, I would have responded to the one who called."
أن رسول الله ﷺ قال: نحن أحق بالشك من إبراهيم إذ قال: {رب أرني كيف تحي الموتى قال أولم تؤمن قال بلى ولكن ليطمئن قلبي}[البقرة: ٢٦٠]، ويرحم الله لوطا لقد كان يأوي إلى ركن شديد، ولو لبثت في السجن طول ما لبث يوسف لأجبت الداعي.
Bukhari narrated it in the Book of the Prophets (3372), and Muslim in the Book of Virtues (2370:152), both from the hadith of Ibn Wahb, who said, Yunus informed me, from Ibn Shihab, from Abu Salama bin Abdul-Rahman and Saeed bin Musayab, from Abu Hurairah, and he related it.Abu Sulayman Khattabi said, "In his statement, 'We have more right to doubt than Ibrahim,' there is no admission of doubt regarding himself, nor regarding Ibrahim. Rather, it contains a denial of doubt from both of them. He is saying, if I myself did not doubt and did not have any uncertainty about Allah's power to bring the dead back to life, then Ibrahim has even more reason not to doubt or be uncertain. He said this as an expression of humility and self-effacement. It also indicates that the question posed by Ibrahim did not arise from doubt, but rather from a desire for increased knowledge, for direct witnessing yields a degree of certainty and reassurance that inference alone cannot provide. As for his statement, 'that my heart may be at ease,' it means, with the certainty of direct observation." This ends the summary. See Alam Hadith (3/1545-1546).As for his statement, "I would have answered the caller," it means, I would have hastened to respond by leaving the prison, and this was before he sought his acquittal. He described him as one who showed remarkable patience, in that he did not rush to leave, and he said this only out of humility. Humility does not diminish the rank of a great person, rather it increases him in elevation and dignity. It has also been said that this is of the same kind as his statement, "Do not exalt me above Yunus," and it has been said that he said this before he knew that he was superior to everyone. See Fath al-Bari (6/413).