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.
عَنِ النَّبِيِّ ﷺ بِالإِسْلاَمِ قَالَ اللَّهُمَّ اكْفِنِيهِمْ بِسَبْعٍ كَسَبْعِ يُوسُفَ فَأَصَابَتْهُمْ سَنَةٌ حَصَّتْ كُلَّ شَىْءٍ حَتَّى أَكَلُوا الْعِظَامَ حَتَّى جَعَلَ الرَّجُلُ يَنْظُرُ إِلَى السَّمَاءِ فَيَرَى بَيْنَهُ وَبَيْنَهَا مِثْلَ الدُّخَانِ قَالَ اللَّهُ {فَارْتَقِبْ يَوْمَ تَأْتِي السَّمَاءُ بِدُخَانٍ مُبِينٍ} قَالَ اللَّهُ {إِنَّا كَاشِفُو الْعَذَابِ قَلِيلاً إِنَّكُمْ عَائِدُونَ} أَفَيُكْشَفُ عَنْهُمُ الْعَذَابُ يَوْمَ الْقِيَامَةِ وَقَدْ مَضَى الدُّخَانُ وَمَضَتِ الْبَطْشَةُ