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.
What is the ruling on forgetting an integral of the prayer?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
Whoever forgets an integral (Rukn) of the prayer and remembers it before reaching the equivalent point in the subsequent unit (Rak'ah), must return to it (i.e., perform it) and complete his prayer, then perform the prostration of forgetfulness (Sujud al-Sahw) at the end of his prayer. However, if he remembers it after reaching the equivalent point in the subsequent unit, the Rak'ah in which the integral was forgotten is invalidated, and the current unit takes its place; he then completes a full Rak'ah to compensate and performs the prostration of forgetfulness.
It is stated in Nihayat al-Muhtaj ila Sharh al-Minhaj (Vol.1/P.543): 'If he becomes certain at the end of his prayer, or after the Salam—provided the interval is not long according to custom and he has not stepped on an impurity—that he omitted a prostration from the final Rak'ah, he must perform it and repeat the Tashahhud, as his previous Tashahhud occurred before its proper place. If the omission was from a Rak'ah other than the final one, he must perform a full Rak'ah, because the deficient unit was completed by a prostration from the subsequent one, rendering the rest of that subsequent unit void.' And Allah the Exalted knows best.
Is it obligatory to have the intention for each day of fasting, or is one intention sufficient for the whole month?
The intention is obligatory for each day of Ramadan because each day is an independent act of worship separate from the others.
The intention must be made at night before the break of dawn, as the Prophetﷺ said: "Whoever does not intend fasting at night, there is no fast for him." [An-Nasa’i]
And he also said: "Whoever does not firmly resolve to fast before dawn, there is no fast for him." [At-Tirmidhi, Abu Dawood, and An-Nasa’i]
Whoever wakes up and eats Suhoor while mindful of fasting has made the intention. Likewise, one who firmly intends at any moment during the night to fast the next day has also fulfilled the intention.
Is it permissible for a woman to shake hands with her brother-in-law?
It is forbidden for the woman to shake hands with her brother-in-law because he isn`t a Mahram (unmarriageable) of hers.