What type of illness that permits breaking the fast in Ramadan?
It is an illness that, if one fasts, there is a fear it may lead to their death or cause unbearable hardship.
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.
A pious man proposed to me and my father was hesitant in this regard because he is black, am I sinful if I accepted his proposal?
If the suitor is pious, color isn`t a drawback. However, try talking to your father kindly, so that he approves of your marriage with contentment, and that is better for you.
What is the ruling on congratulating others on the arrival of Ramadan?
Congratulating others on the arrival of Ramadan is permissible.
If someone does it to express their love for worship and the blessings of Ramadan, and congratulates their fellow Muslim, they have done something good.
The Prophet ﷺ said: "Shall I not tell you something that, if you do it, you will love one another? Spread peace (Salam) among yourselves." [Narrated by Muslim]
Giving Salam is a prayer for peace and safety.