Does Laylat al-Qadr move between the nights of Ramadan?
Laylat al-Qadr is definitely in Ramadan, and it is most likely in the last ten nights, especially on the odd-numbered nights.
For this reason, the Prophet ﷺ commanded observing worship in the last ten nights, and he himself used to dedicate those nights to worship. Many people put special effort into the 27th night of Ramadan, and they are rewarded in any case, whether they actually coincide with Laylat al-Qadr or not, because worshiping on any night of Ramadan carries great rewards.
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 swimming while fasting?
Swimming while fasting is disliked (makruh) due to the risk of water entering the body cavity (jauf) through the nose, ears, or mouth, which would break the fast.
Ramadan is a month of tasbeeh (glorifying Allah), not Sibaha (swimming).
What is the ruling of Islamic Law on eating or drinking forgetfully while observing the kaffarah fasting?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
If someone eats or drinks out of forgetfulness while fasting, it is simply that Allah has fed them and given them drink. Their fast is not broken by this; rather, they should continue fasting. This ruling applies whether the fast is an obligatory one (like Ramadan), a make-up fast (Qada), an expiation (Kaffarah), or a voluntary (Nafal) fast. And Allah the Exalted knows best.