What is the ruling on someone who curses the religion or commits an act of disbelief during the day in Ramadan?
Whoever apostatizes (leaves Islam) while fasting, their fast is invalid. Cursing the religion is an act of apostasy (may Allah protect us from it). Such a person must return to Islam by pronouncing the Shahadah (testimony of faith), seek Allah’s forgiveness, refrain from eating and drinking for the rest of the day, and make up for that day’s fast later.
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.
Does the fast become invalid if water from rinsing the mouth reaches the stomach while performing ablution?
If water reaches the stomach without the fasting person exceeding normal rinsing or being excessive, their fast remains valid.
However, if they exceed the normal practice or exaggerate in rinsing, causing water to enter the stomach, their fast is invalid.
This is because excessiveness in rinsing is prohibited for a fasting person, as the Prophetﷺ said: "Exaggerate inhaling water during ablution, except when you are fasting." [Narrated by the Four Imams]
Transgression (Ta‘addi) refers to rinsing the mouth more than three times, while exaggeration (Mubalaghah) includes gargling, drawing water deep into the nasal passages, or filling the mouth with water in an unusual manner.
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.