What is the ruling of Islamic Law on performing the Witr prayer after the Adhan for Fajr prayer?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
The time for Witr prayer begins after the ‘Ishā' prayer and ends with the rising of true dawn (al-fajr aṣ-ṣādiq). If a Muslim performs it at any point within this window, it counts as performed on time.
It is also recommended to make up a missed Witr prayer at any time — whether before or after performing the Fajr prayer, or at any other time of day. On the authority of Abū Sa‘īd al-Khudrī (raḍiyallāhu ‘anh), the Messenger of Allah ﷺ said: "Whoever falls asleep and misses the Witr prayer, or forgets it, let him pray it when he remembers, or when he wakes up." (Related by at-Tirmidhī)
Shaykh al-Islām, Imam Ibn Ḥajar al-Haytamī (raḥimahullāh), says: "The time for Witr prayer is between the ‘Ishā' prayer and the rising of dawn, based on the authentic ḥadīth to this effect. If this time has passed, it is permissible for him to make it up (qaḍā') afterward." [Tuḥfat al-Muḥtāj]. 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 there a solution to put an end to thinking of worries during prayer?
Firstly, make ablution after the time for prayer begins and busy yourself with remembering Allah, The Exalted, before the iqaamah (start of prayer).In order to become humbly submissive during prayer, you must perform prayer in congregation. After the prayer ends, stay in your place and read the post-prayer remembrances (Adhkaar) and make supplication to Allah, The Exalted.
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.