Is it a condition for I‘tikaf to be performed in the mosque?
Yes, for I‘tikaf to be valid, it must be performed in a mosque. I‘tikaf is not valid if performed at home or elsewhere.
Is it permissible for a woman who has become pure before the end of forty days of confinement to perform different acts of worship? and is it lawful for her husband to have sex with her?
Once postpartum bleeding ceases and she is certain that it won`t happen again, she becomes pure, and so she should perform Ghusl (ritual bath), pray, and fast. She can also have sex with her husband even before the end of (40) days because the minimum of postpartum bleeding is a moment, and the maximum is (60) days. However, the postpartum bleeding for the majority of women is (40) days, but this does not apply to rest of them.
Can Zakah or Zakat al-Fitr be given to a poor brother?
Yes, it is allowed to give Zakah or Zakat al-Fitr to a poor brother, as he is considered among the eligible recipients.
If a person enters a mosque and finds the congregation in the final tashahhud, which is more virtuous — joining them or waiting for a second congregation to catch the opening takbīr (takbīrat al-iḥrām)?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
If a worshipper finds a congregation that is about to finish its prayer, and he hopes to catch the entire prayer from the beginning with another congregation, it is more virtuous for him to pray with this first congregation and then repeat the prayer with the second one — provided he does not intend to confine himself to a single prayer. If, however, he intends to perform only one prayer, then it is more virtuous for him to wait for the second congregation rather than joining the first, so that he may attain the reward of congregational prayer for every single rakʿah.
Al-Khaṭīb al-Sharbīnī, may Allah have mercy upon him, states: "If members of a congregation enter the mosque while the imam is in the final tashahhud, al-Qāḍī Ḥusayn held that it is recommended for them to join him in prayer, and that they should not delay in order to form a second congregation. Al-Mutawallī, however, affirmed the opposite view, and al-Qāḍī's own statement elsewhere supports this latter position, which is the relied-upon view. In fact, it is more virtuous for a person who has missed part of the prayer with one congregation, and who hopes to catch another congregation with whom he can attain the entire prayer within its proper time, to delay so that he may catch it in full with them. This applies when he intends to confine himself to a single prayer; otherwise, it is more virtuous for him to pray with the first group and then repeat the prayer with the others." [Mughnī al-Muḥtāj,Vol. 3/P.186] And Allah the Almighty knows best.