Sahih al-Bukhari Book 65, Hadith 216
Allah's Messenger (ﷺ) said, "May Allah bestow His Mercy on (Prophet) Lot. (When his nation troubled him)
he wished if he could betake himself to some powerful support; and if I were to remain in prison for
the period Joseph had remained, I would surely respond to the call; and we shall have more right (to
be in doubt) than Abraham: When Allah said to him, "Don't you believe?' Abraham said, 'Yes, (I do
believe) but to be stronger in faith; (2.260)
When the Prophet (ﷺ) realized that the Quraish had delayed in embracing Islam, he said, "O Allah! Protect me against their evil by afflicting them with seven (years of famine) like the seven years of (Prophet) Joseph." So they were struck with a year of famine that destroyed everything till they had to eat bones, and till a man would look towards the sky and see something like smoke between him and it. Allah said:-- "Then watch you (O Muhammad) for the day when the sky will produce a kind of smoke plainly visible." (44.10) And Allah further said:-- "Verily! We shall withdraw the punishment a little, Verily you will return (to disbelief)." (44.15) (Will Allah relieve them from torture on the Day of Resurrection?) (The punishment of) the smoke had passed and Al-Baltsha (the destruction of the pagans in the Badr battle) had passed too.
That when he asked `Aisha about the statement of Allah "Until when the Apostles gave up hope (of their people)." (12.110) she told him (its meaning), `Urwa added, "I said, 'Did they (Apostles) suspect that they were betrayed (by Allah) or that they were treated as liars by (their people)?' `Aisha said, '(They suspected) that they were treated as liars by (their people),' I said, 'But they were sure that their people treated them as liars and it was not a matter of suspicion.' She said, 'Yes, upon my life they were sure about it.' I said to her. 'So they (Apostles) suspected that they were betrayed (by Allah).' She said, "Allah forbid! The Apostles never suspected their Lord of such a thing.' I said, 'What about this Verse then?' She said, 'It is about the Apostles' followers who believed in their Lord and trusted their Apostles, but the period of trials was prolonged and victory was delayed till the Apostles gave up all hope of converting those of the people who disbelieved them and the Apostles thought that their followers treated them as liars; thereupon Allah's help came to them.