What are the valid excuses for abstaining from congregational prayer in the mosque?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
Concessions (Rukhsah) are granted to abstain from congregational prayer in the mosque due to general excuses, such as: rain that causes hardship in going out, strong winds at night, heavy mud that cannot be traversed without the risk of soiling oneself, hot winds, and extreme heat or cold. There are also specific individual excuses, such as: illness that makes walking as difficult as walking in the rain, severe drowsiness, evident hunger or thirst, the suppression of bodily wastes (urine, stool, or gas), and fear for one's life, limb, physical faculty, wealth, or honor, among other valid excuses. And Allah the Exalted knows best.
Should a person feel pleased, or have a virtuous vision after offering Istikhara (guidance prayer) in order to do what he/she had offered it for?
The result of the Istikhaarah is not necessarily that a person sees something (in his dream), or feels pleased, but the most important result of the Istikhaarah is whether a person is enabled to do a given matter or not.
What is the ruling on the cessation of blood after (40) days from delivery, but later continued sporadically during two days of Ramadan?
Once postpartum bleeding (Nifas) ceases, and the woman is certain that it won`t reoccur, then she becomes ritually pure and so she is free to make Ghusl (purificatory bath), pray, and fast. If the bleeding reoccurs before fifteen days from its cessation, and before the end of (60) days after delivery, then the ruling on postpartum bleeding is effective, and her fasting and prayer are null and void, thus she must make up the fasting that she missed and not the prayer during those particular days.
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.