The Rambam · Sefer Ahavah
הלכות תפילה וברכת כהנים ה׳Prayer and the Priestly Blessing 5
Chapter 5 of 15 in Prayer and the Priestly Blessing — 15 halachot
Halacha 1א׳
שמונה דברים צריך המתפלל להזהר בהן ולעשותן ואם היה דחוק או נאנס או שעבר ולא עשה אותן אין מעכבין ואלו הן:עמידה ונוכח המקדש ותקון הגוף ותקון המלבושים ותקון המקום והשויית הקול והכריעה והשתחויה.
Eight things must one who prays take care in and perform; and if he was pressed, or compelled, or transgressed and did not do them, they do not invalidate. And these are they: standing; facing the Sanctuary; the setting of the body; the setting of the garments; the setting of the place; the evenness of the voice; bowing; and prostration.
Halacha 2ב׳
עמידה כיצד אין מתפלל אלא מעומד היה יושב בספינה או בעגלה אם יכול לעמוד יעמוד ואם לאו ישב במקומו ויתפלל חולה מתפלל אפילו שוכב על צדו והוא שיכול לכוין את דעתו וכן הצמא והרעב הרי הן בכלל חולים אם יש בו יכולת לכוין את דעתו יתפלל ואם לאו אל יתפלל עד שיאכל וישתה היה רוכב על הבהמה אע"פשיש לו מי שיאחז בהמתו לא ירד אלא ישב במקומו ויתפלל כדי שתהא דעתו מיושבת עליו.
Standing, how so? One prays only standing. If he was sitting in a ship or in a wagon: if he can stand, let him stand; and if not, let him sit in his place and pray. A sick man prays even lying on his side, provided that he can direct his mind. And so too the thirsty and the hungry are included among the sick: if he has the power to direct his mind, let him pray; and if not, let him not pray until he has eaten and drunk. If he was riding upon a beast, even though he has someone to hold his beast, let him not come down; rather let him sit in his place and pray, so that his mind may be settled upon him.
Halacha 3ג׳
נכח המקדש כיצד היה עומד בחוצה לארץ מחזיר פניו נכח ארץ ישראל ומתפלל היה עומד בארץ מכוין את פניו כנגד ירושלים היה עומד בירושלים מכוין פניו כנגד המקדש היה עומד במקדש מכוין פניו כנגד בית קדש הקדשים סומא ומי שלא יכול לכוין את הרוחות והמהלך בספינה יכוין את לבו כנגד השכינה ויתפלל.
Facing the Sanctuary, how so? If he was standing outside the Land, he turns his face toward the Land of Israel and prays. If he was standing in the Land, he sets his face toward Jerusalem. If he was standing in Jerusalem, he sets his face toward the Sanctuary. If he was standing in the Sanctuary, he sets his face toward the House of the Holy of Holies. A blind man, and one who cannot make out the directions, and one travelling in a ship, direct their heart toward the Divine Presence and pray.
Mishneh Torah, Hebrew Wikisource edition, via Sefaria — CC BY-SA
English: Sefaria Community Translation — CC0
English: rendered from the Hebrew for this app — our own, not a borrowed translation