How should a person who is afflicted with continued major ritual impurity (incontinence of urine, bleeding outside the monthly period) perform ablution?
Such a person should make ablution for every prayer after its due time and after removing impurities from their body and outfit, and should place a fresh diaper whenever needed so as for the impurity not to spread out. They should also perform prayer immediately even if incontinence of urine continued, and should repeat the aforementioned for every obligatory prayer, then perform optional prayer as much as they want.
What is the ruling on entering the toilet with something containing the remembrance of Allah?
It is disliked to bring into the toilet anything containing a reminder of Allah, such as the Quran or a sacred name (like the name of Allah, Muhammad, etc.). If one does that, etiquette dictates that he conceal it so it is not visible while entering the toilet, either by cupping his hands over it, putting it in his pocket, or inside his shirt if it is a necklace or ring. And Allah the Almighty knows best.
What is the ruling on congregational prayer performed outside the mosque, and is it a condition that it be performed in a mosque in order to attain the full reward?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
It is not a condition for attaining the reward of congregational prayer that it be performed in a mosque; however, a Muslim should still be keen to perform his prayers in the mosque, so as not to miss out on immense reward. This is due to the virtue of the mosque and of spending time there (i‘tikāf), the typically larger number of worshippers present, and the additional reward gained through walking to and from the mosque. On the authority of Abū Hurayrah (raḍiyallāhu ‘anh), the Messenger of Allah ﷺ said: "Whoever purifies himself in his house, then walks to one of the houses of Allah to fulfill one of the obligations Allah has prescribed, one of his steps will erase a sin, and the other will raise him a degree [in status]." (Related by Muslim)
Whoever misses congregational prayer at the mosque should still strive to pray in congregation at his workplace, or together with the members of his household. And Allah, the Exalted, knows best.
Does passing wind, from the anus without a smell, invalidate prayer?
If a person is certain of having passed wind even if it was with no smell, then both his/her ablution and prayer are invalidated, thus he/she should remake ablution and re-perform prayer.