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 and shorten prayers at home before traveling?
It is impermissible to combine and shorten prayers at home before traveling because a person is called a traveler once he/she departs the borders of his/her country, and offering prayer that way was originally intended to exempt a traveler. And Allah Knows Best.
What is the meaning of the Prophetic statement that a boy is held in pledge (murtahan) for his 'aqīqah?
All praise is due to Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
The first interpretation: That if the boy dies in infancy without an 'aqīqah having been performed on his behalf, he will not intercede for his parents on the Day of Resurrection. This is the position of Imam Aḥmad ibn Ḥanbal, and Imam al-Khaṭṭābī concurred with him, stating: "The finest of what has been said regarding this matter is the position adopted by Aḥmad ibn Ḥanbal." — [Fatḥ al-Bārī by Ibn Ḥajar,{Vol.9/P.594]
The second interpretation: That the child is likened to a pledged object (marhūn) — one from which full benefit and enjoyment cannot be derived until it is redeemed. A blessing is only made complete upon the one blessed when they fulfil the obligation of gratitude (shukr), and the prescribed expression of gratitude for this particular blessing is what the Prophet ﷺ established as Sunnah — namely, the slaughtering of the 'aqīqah on behalf of the newborn as an act of thankfulness to Allah the Almighty and as a supplication for the wellbeing and safety of the child. This is the position of Mullā 'Alī al-Qārī. See: [Mirqāt al-Mafātīḥ Sharḥ Mishkāt al-Maṣābīḥ, Vol.7/P.2688]
And Allah Almighty knows best.
What is the ruling on a person in a state of major impurity (junub) walking or eating before performing the ritual bath?
It is from the Sunnah for a Muslim to hasten to perform the ritual bath for major impurity. However, if he delays it, he does not sin provided he does not miss the prayer. It is permissible for the junub to walk, eat, drink, and sleep. It is recommended for him to perform ablution before these actions to reduce the state of impurity, although the best is for him to perform the ritual bath. And Allah the Almighty knows best.