Sunan Abi Dawud, Hadith 2500

Najdah bin Nufai’ said “I asked Ibn ‘Abbas about the verse. “Unless you go forth, He will punish you with a grievous penalty.” He replied “The rain stopped from them. This was their punishment.”

حَدَّثَنَا عُثْمَانُ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا زَيْدُ بْنُ الْحُبَابِ، عَنْ عَبْدِ الْمُؤْمِنِ بْنِ خَالِدٍ الْحَنَفِيِّ، حَدَّثَنِي نَجْدَةُ بْنُ نُفَيْعٍ، قَالَ ‏:‏ سَأَلْتُ ابْنَ عَبَّاسٍ عَنْ هَذِهِ الآيَةِ، ‏{‏ إِلاَّ تَنْفِرُوا يُعَذِّبْكُمْ عَذَابًا أَلِيمًا ‏}‏ قَالَ ‏:‏ فَأُمْسِكَ عَنْهُمُ الْمَطَرُ وَكَانَ عَذَابَهُمْ ‏.‏

sunnah.com

also referenced under: Hadith 2506 (DarusSalam)