The Chapter of the Qibla

Man Lā Yaḥḍuruh al-Faqīh|Volume 1|Book 1|Chapter 43
وَ رُوِيَ: «أَنَّهُ إِذَا عَصَفَتِ اَلرِّيحُ بِمَنْ فِي اَلسَّفِينَةِ وَ لَمْ يَقْدِرْ عَلَى أَنْ يَدُورَ إِلَى اَلْقِبْلَةِ صَلَّى إِلَى صَدْرِ اَلسَّفِينَةِ.
It is narrated that "If the wind blows strongly upon someone on a ship, and they are unable to turn toward the Qiblah, they should pray facing the front of the ship”.
  • Shaykh Baqir al-Behbudi
    Ṣaḥīḥ al-Faqīh, p. 42