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.
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.
Is Fajr (dawn) Sunnah a confirmed one?
All praise be to Allah The Lord of The Worlds Of course, it is a confirmed Sunna which the Prophet (PBUH) used to offer in a regular basis. And Allah Knows Best.
What is the ruling on praying behind a disliked Imam?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
It is mildly disliked (Makruh Tanzihan) for a man—other than the permanent designated Imam (Imam Ratib)—to lead people in prayer if the majority of them dislike him due to a religiously blameworthy reason (Amr Madhmum Shar‘an), such as associating with open sinners (Fussaq), for example. As for the followers who dislike him, the prayer behind him is not disliked for them. However, if less than the majority dislike him, or if the majority dislike him for a reason that is not religiously blameworthy, then his leading the prayer is not disliked. And Allah the Exalted knows best.