Surah Luqman

31:32

وَإِذَا غَشِيَهُم مَّوْجٌۭ كَٱلظُّلَلِ دَعَوُا۟ ٱللَّهَ مُخْلِصِينَ لَهُ ٱلدِّينَ فَلَمَّا نَجَّىٰهُمْ إِلَى ٱلْبَرِّ فَمِنْهُم مُّقْتَصِدٌۭ ۚ وَمَا يَجْحَدُ بِـَٔايَٰتِنَآ إِلَّا كُلُّ خَتَّارٍۢ كَفُورٍۢ

And when waves come over them like canopies, they supplicate Allah, sincere to Him in religion. But when He delivers them to the land, there are [some] of them who are moderate [in faith]. And none rejects Our signs except everyone treacherous and ungrateful.

Tafsir 31:32

And when a mountain-like wave and dark clouds surround them from all sides, they call out to Allah sincerely supplicating and worshipping Him. Then, when Allah accepts their supplication and saves them from drowning, bringing them back to land, some of them are moderate in their praise, falling short of showing due gratitude to Him, while others reject the blessing of Allah; None reject My signs except every deceitful person, like the one that promised to be grateful if Allah saved him, then broke his promise. And none reject My signs except every ungrateful person who never shows gratitude for the favours Allah grants him.