Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:43:55

And when they angered Us, We took retribution from them and drowned them all.  

So when they had angered Us, We took vengeance on them and drowned them all.
القرآن:٤٣:٥٥

فَلَمَّا آسَفُونَا انْتَقَمْنَا مِنْهُمْ فَأَغْرَقْنَاهُمْ أَجْمَعِينَ  

{فلما آسفونا} أغضبونا {انتقمنا منهم فأغرقناهم أجمعين}.