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:37:145

But We threw him onto the open shore while he was ill.  

Then We cast him, We flung him out of the belly of the whale, onto the barren land, onto the face of the earth, that is, onto the shore on that same day — or three, or seven, or twenty, or forty days later — and he was sick, ailing like a ˹newly-born˺ featherless chick.
القرآن:٣٧:١٤٥

فَنَبَذْنَاهُ بِالْعَرَاءِ وَهُوَ سَقِيمٌ  

{فنبذناه} أي ألقيناه من بطن الحوت {بالعراء} بوجه الأرض: أي بالساحل من يومه أو بعد ثلاثة أو سبعة أيام أو عشرين أو أربعين يوما {وهو سقيم} العليل كالفرخ الممعط.