The drowning of the idolaters and tyrants in the sea, is cited in the Quran in many ayat, like this one:
Quran 17: 69, which means:
(Or are you confident that [God] will not return you back into the [ships] once again, and send against you a violent stormy wind [which will impact your ship], to...