What is the ruling on praying alone (munfaridan) in a row, and what should I do if I enter the mosque together with another person, and there is only a single gap in the first row with no second row present — should I fill that gap in the first row, or should I stand together with him in a new second row?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
If a person enters [the congregation] and finds no space available in the row, it is recommended for him — after making his opening takbīr for the prayer — to gently pull someone from the row in front of him to pray alongside him, provided he senses that this person would be agreeable to it. If that person does not agree, then he prays alone, and there is no dislike attached to his doing so in that case.
If he ends up praying alone [behind the row], it is sunnah for him to stand directly behind the imam. Then, if someone else arrives, that person stands to his right; and whoever comes after them stands to his left — and so on — such that the imam remains centered in the middle of the row. This is done so that everyone attains the reward of congregational prayer.
As for the case where two people enter the prayer together, and there is a gap in the row wide enough for only one person, then the two of them should pray together in a new row [of their own], and whoever arrives after them should fill that original gap. This is because if only one of the two fills the gap, the other would end up praying alone [which is to be avoided when it can easily be prevented].
Al-Khaṭīb ash-Shirbīnī (raḥimahullāh) said in Mughnī al-Muḥtāj (Vol.1/P.494): "If he does not find space, then it is recommended for him, while still standing, to gently pull a single person from the row toward himself after making his opening takbīr — out of caution, so as to avoid the position held by some scholars that a person's prayer standing alone behind the row is not valid.
Az-Zarkashī and others said: this should only be done if it seems he would agree to it; otherwise, he should not pull anyone — indeed, doing so becomes impermissible, out of fear of causing discord (fitnah). It is recommended for the person being pulled to cooperate and agree, so that he may attain the reward of assisting in righteousness and piety (al-birr wat-taqwā). However, he should not pull one of two people [praying together] from the row, since this would cause one of them to end up praying alone. This is why the 'pulling' described here takes place only after the opening takbīr [i.e., once the person doing the pulling has already validly begun his own prayer]."
Accordingly: it is sunnah for you to pray alongside the person praying alone, and then, if someone else arrives afterward, you may go and fill the gap in the original row. And Allah, the Exalted, knows best.
Is fasting obligatory for a child?
Fasting is not obligatory for a child until they reach puberty. Puberty is determined by well-known signs, the most common of which are: nocturnal emission (for both males and females), menstruation (for females), or reaching the age of fifteen lunar years.
A guardian must instruct their children to fast once they reach the age of discernment, which is around seven years old, if they are capable of fasting.
What is the ruling of Islamic Law on performing prayer on the upper floors of al-Masjid al-Ḥarām?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
Facing the actual structure of the Ka‘bah (‘ayn al-Ka‘bah) is one of the conditions for the validity of the prayer. The scholars have clarified what is meant by "the actual structure of the Ka‘bah."
Imam ash-Sharwānī (raḥimahullāh) said: "What is meant by its ‘ayn (actual structure) is its physical body, or the airspace directly aligned with it — if the person praying is not inside it. But if he is inside it, then the airspace alone does not suffice; rather, the actual physical structure must be faced, such that even if he faces a projecting part of it measuring roughly two-thirds of a dhirā‘ (cubit) or more, this would be sufficient." [Ḥāshiyat ash-Sharwānī ‘alā Tuḥfat al-Muḥtāj, Vol.1/P.484]
Sheikh al-Qulyūbī (raḥimahullāh) said: "Unlike one who prays outside it — i.e., outside the Ka‘bah — for him the airspace (directly above it) suffices, even if he is higher than it, or even if he is at the location where it (hypothetically) has been demolished." [Ḥāshiyat al-Qulyūbī ‘alā Sharḥ al-Minhāj, Vol.1/P.154]
Accordingly, the prayer is valid on the upper floors of al-Masjid al-Ḥarām, even though these floors are higher than the roof of the Ka‘bah itself. And Allah, the Exalted, knows best.
Where should a woman following her husband or another man in prayer stand?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
If a single woman prays with a man—whether she is his wife or a non-mahram (Ajnabiyyah)—the Sunnah is for her to stand behind the Imam and be shielded by him. If the Imam is leading both a man and a woman, the man should stand to the Imam's right, and the woman should stand behind the male follower (Muqtadi). In this way, she is shielded from the Imam by the male follower and remains at a distance from the follower and his line of sight. And Allah the Exalted knows best.