Does the use of suppositories, enemas, or hemorrhoid creams affect the validity of fasting?
Enemas and suppositories inserted through either of the two private passages invalidate the fast. This ruling is based on the statement of Ibn Abbas (may Allah be pleased with him): "Breaking the fast occurs from what enters (the body), not from what exits." [Reported by Al-Bayhaqi in As-Sunan Al-Kubra]
His generalization regarding anything entering the body indicates that it invalidates fasting, whether it is nutritious or not, as even non-nutritious substances resemble food in form.
It is recommended to use them before Fajr or after Iftar. However, if a person must use them while fasting, they should continue refraining from food and drink for the rest of the day and make up for that day later.
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 the marriage, which lacks a valid legal contract, a guardian, and a court registration, valid?
It is incumbent that a valid marriage contract be concluded in the presence of a guardian and two trustful witnesses, and it should be registered in the court to protect the rights of the wife. Actually, a valid marriage contract is what differentiates between sound marriage and fornication.
Does burping (belching) break the fast?
Burping does not break the fast. However, if anything comes up from the stomach, the fasting person must spit it out and rinse their mouth to cleanse it.
If they swallow it intentionally while being able to expel it, or if they swallow their saliva before rinsing their mouth, their fast is invalidated.