Today, the Talmud discusses the severity and importance of making sure the first thing a person does in the morning is Shacharit (daily prayer), to the point that it is prohibited for a person to fulfill their own needs before they pray. The Talmud proves this from a verse in Tehillim (Psalms), chapter 85, verse 14. The verse says, Tzedek lefanav yehalekh, veyasem lederech pe'amav: “Righteousness will precede him, and he will set his footsteps on the path.” So the understanding is that the righteousness that will precede him means doing the right thing and praying as the first thing a person starts their day with. After that, a person's own footsteps: “We'll get on their path,” meaning they'll get along with the rest of their day.
So the Shulchan Aruch, in Siman Peh Tet, Siman chapter 89, Halacha Gimel, the third halacha, gives this halacha (Jewish law) according to the letter of the law: a person is not to do any of their own needs before prayers in the morning. So let's get practically into a couple of day-to-day situations to see whether they would be permitted before one's prayer. The first would be traveling from city to city. Normally, one should not travel before they pray. If the time for prayer has come, they should pray; they should do their morning services before traveling, unless they are traveling for the need of the prayer.
For example, let's say a person is in Israel and wants to travel from one city all the way to Jerusalem so they can pray at the Kotel. That traveling before the prayer is definitely allowed because it's for the need of the prayer. If a person is traveling from one place to another to get to a prayer before a Brit Milah (covenant of circumcision) or a specific prayer before a Bar Mitzvah (son of the commandment), all of that would be permitted because you're traveling in order to facilitate the prayer in a certain situation. That's allowed. The underlying rule about whether one is allowed or not allowed to do something before the prayers is this: if what you are doing is in order to enhance the prayer or is for the sake of the prayer, then it would be allowed before the prayers.
So let's say a person is getting on a plane to travel somewhere. If it's for a business trip or, namely, any type of trip involving flying on a plane, and the time for prayer has started, then a person should pray before getting on the plane. If not, then they'll pray either on the go or when they get to their next destination.
The next topic of discussion is whether we're allowed to wash or bathe ourselves before prayers. According to the Talmud and the basic halacha, believe it or not, it would be prohibited. Why? Because at that moment you are doing something for yourself, and it's not necessarily a need for the prayer. However, nowadays, since it's so common for us to have our own bathing facilities, such as showers and whatnot, a person is definitely allowed to wash themselves and shower in the morning, as long as they obviously over—don't overindulge and waste too much time with that. It can be considered preparation for a person to come to prayer clean. That would be allowed to be done nowadays.
Going to a mikveh (ritual bath) before prayer is allowed because, again, that is in order to facilitate or bring more holiness and purity before the mikveh. We're talking about men specifically, and that would be allowed. Ideally, if possible, a person should not shave before prayers in the morning. However, if that's part of one's morning routine, then it's no different from brushing one's teeth, showering, and shaving, which would all be considered preparation for the day and preparation for prayer. Then it would be allowed. Making one's bed in the morning is also allowed because that is derech eretz, it's common courtesy. It would not be considered melacha (prohibited labor) that detracts a person from getting on with their day and going on to the services.
Another topic for discussion is taking care of one's children or parents before the prayers. That would be allowed because, in and of themselves, they are mitzvot (commandments). It's a mitzvah to take care of your children, it's a mitzvah to take care of your spouse, and it's a mitzvah to take care of your parents. As long as a person won't completely do away with the prayers, if the time for prayer has come and there is a need for one to take care of their children, spouse, or parents, they're allowed to do so, and then they'll get to their prayers afterwards.
