What is the ruling if hemorrhoid blood exits after completing ablution?
If this blood is exiting from outside the anus (due to the hemorrhoid protruding), it does not invalidate ablution, because blood exiting from the body from other than the two orifices does not invalidate ablution. If it exits from the anus (meaning from inside it), it invalidates ablution, and one must perform istinja' from it, wash the area of impurity, and repeat the ablution.
However, if this blood exits continuously such that no time remains sufficient for purification and prayer without it flowing, then it takes the ruling of urinary incontinence (sals al-bawl). One then cleanses from it after the time for each prayer enters, performs ablution immediately thereafter, and performs the obligatory prayer immediately. There is no liability upon him after that if something of it flows, and he may pray as many voluntary prayers as he wishes. If he wants to pray another obligatory prayer, he must cleanse himself and perform ablution. And Allah the Almighty knows best.
Does passing wind, from the anus without a smell, invalidate prayer?
If a person is certain of having passed wind even if it was with no smell, then both his/her ablution and prayer are invalidated, thus he/she should remake ablution and re-perform prayer.
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 of Islamic Law on the colored discharges that appear one or two days before the menstrual cycle?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
Colored discharges carry the same Islamic ruling as blood, whether they appear at the beginning or the end of the menstrual period. This remains true even if the discharge is intermittent—appearing for some days and stopping for others before returning—provided that the total duration does not exceed fifteen days nor fall short of a day and a night (24 hours). This is because the minimum duration of menstruation (Hayd) is one day and a night, while its maximum duration is fifteen days. Furthermore, the minimum period of purity (Tuhr) between two menstrual cycles is fifteen days, and there is no maximum limit for it. And Allah the Exalted knows best."