Prophet Yunus AS cried out to Allah for 40 days from beneath three darknesses
1. the darkness of the belly of the whale,
2. the darkness of the ocean,
3. the darkness of the night, saying: "There is no deity except You; exalted are You, Indeed. I have been of the wrongdoers."