Surah Luqman 31:32
وَإِذَا غَشِيَهُم مَّوْجٌ كَٱلظُّلَلِ دَعَوُا۟ ٱللَّهَ مُخْلِصِينَ لَهُ ٱلدِّينَ فَلَمَّا نَجَّىٰهُمْ إِلَى ٱلْبَرِّ فَمِنْهُم مُّقْتَصِدٌ ۚ وَمَا يَجْحَدُ بِـَٔايَـٰتِنَآ إِلَّا كُلُّ خَتَّارٍ كَفُورٍ
And when waves come over them like canopies, they supplicate Allāh, sincere to Him in religion [i.e., faith]. 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.
Translation: Saheeh International
Tafsir
And if waves cover them that is if these rise above the disbelievers like awnings like mountains that act as awnings over those below them they call on God sincere before Him in their faith that is in their supplication that He may deliver them in other words they do not call on any other god with Him; …
Excerpt from Tafsir al-Jalalayn, commentary on 31:32, via Quran.com. The reader has the full commentary and 9 more tafsirs.