Does the use of suppositories, enemas, or hemorrhoid creams affect the validity of fasting?
Enemas and suppositories inserted through either of the two private passages invalidate the fast. This ruling is based on the statement of Ibn Abbas (may Allah be pleased with him): "Breaking the fast occurs from what enters (the body), not from what exits." [Reported by Al-Bayhaqi in As-Sunan Al-Kubra]
His generalization regarding anything entering the body indicates that it invalidates fasting, whether it is nutritious or not, as even non-nutritious substances resemble food in form.
It is recommended to use them before Fajr or after Iftar. However, if a person must use them while fasting, they should continue refraining from food and drink for the rest of the day and make up for that day later.
Is it a condition for the mosque where I‘tikaf is performed to hold Jumu‘ah prayers?
No, it is not a condition for the mosque where I‘tikaf is performed to have Jumu‘ah prayers. However, if a person vows to perform continuous I‘tikaf, and Jumu‘ah occurs within that period, then they must observe I‘tikaf in a mosque where Jumu‘ah is held so that they do not break their continuity by leaving for Friday prayer.
Is it valid to have Suhoor before sleeping, even if it is before midnight?
Suhoor refers to the pre-dawn meal eaten after midnight to help a Muslim endure fasting. The closer it is to Fajr, the better.
The Prophet ﷺ said: "My Ummah will remain upon goodness as long as they hasten to break the fast and delay Suhoor." [Narrated by Ahmad]
This is because delaying Suhoor makes it more effective in providing strength for worship. However, if there is a risk of Fajr entering while eating, one should refrain from Suhoor out of caution.
The Prophet ﷺ said: "Leave what makes you doubt for what does not make you doubt." [Narrated by Al-Tirmidhi]
Is it permissible to offer prayer at home, or should it be offered in the mosque?
All perfect praise be to Allah, The Lord of The Worlds. It isn`t preferable for the man to pray at home as praying in the mosque is twenty seven times more rewarding. Therefore, this should motivate him to offer prayers in the mosque. And Allah Knows Best.