What is the ruling on praying in congregation at the mosque?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
Congregational prayer (Salat al-Jama‘ah) is a communal obligation (Fard Kifayah) for resident men regarding the performance of the prescribed (obligatory) prayers. For men, praying in congregation at the mosque is better than praying elsewhere, such as at home. On the authority of Abdullah bin Umar, the Messenger of Allah ﷺ said: 'Prayer in congregation is twenty-seven degrees more excellent than the prayer of a person alone' (Reported by Bukhari & Muslim). Furthermore, on the authority of Abu Hurayrah, the Messenger of Allah ﷺ said: 'Shall I not tell you that by which Allah erases sins and raises ranks?' They said, 'Of course, O Messenger of Allah.' He said: 'Performing wudu thoroughly despite difficulties, taking many steps toward the mosques, and waiting for the next prayer after the prayer; that is your Ribat (steadfastness)' (Narrated by Muslim).
As for a woman, her praying in congregation at home is better for her than in the mosque, according to the saying of our Master the Prophet ﷺ: 'Do not prevent your women from attending the mosques, but their homes are better for them' (Narrated by Abu Dawood). Young boys should be encouraged to attend the mosques and congregational prayers so they may become accustomed to them. And Allah the Exalted knows best.
What is the ruling on bypassing a nearby mosque for a distant one?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
If a distant mosque has a larger congregation (Jama‘ah) while the congregation in the nearby mosque is smaller, and the congregation in the nearby mosque is not adversely affected by the worshiper's absence, then it is better for him to pray in the distant mosque with the larger congregation. However, if the congregation in the nearby mosque would be affected by his absence—such as if he is its Imam, or if his presence encourages others to attend—then praying in the nearby mosque is better. This ensures that the congregation is established in two different locations within the community. This is based on the saying of the Prophet ﷺ: 'A man's prayer offered with another man is purer than his prayer which he offers alone, and his prayer with two men is purer than his prayer with one and if they are more (in number), it is more beloved to Allah, the Mighty the Majestic' (Narrated by Ahmad, Abu Dawood, and An-Nasa'i). And Allah the Exalted knows best.
Does undergoing an endoscopy during the day in Ramadan affect the validity of fasting?
Undergoing an endoscopic procedure during the day in Ramadan—whether through the mouth, nose, front private part, or back private part—invalidates the fast.
Whoever undergoes such a procedure must refrain from eating and drinking for the rest of the day out of respect for the sacred month and make up for that day after Ramadan.
Is it permissible to combine Zuhr and Asr prayers for being occupied with a wedding ceremony?
No, it isn`t permissible to combine Zuhr and Asr, or Maghrib and Isha because of being busy with a wedding since the exemption for combining prayers is based on lawful excuses, and this isn`t one of them. And Allah Knows Best.