What is the ruling on wiping the white area behind the ears instead of wiping the head?
The obligation in ablution is to wipe some of the head; it is not a condition to wipe all of it. Wiping the white area behind the ears suffices for that. And Allah the almighty knows best.
What is the ruling on one who wiped over his leather socks (*khuff*) while resident and then traveled, or wiped while traveling and then became resident? And likewise, what is the ruling on one who incurred a minor ritual impurity (*ḥadath aṣghar*) while resident, then traveled and wiped while traveling?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
Whoever wipes over his leather socks (khuffayn) while resident and then travels, or wipes while traveling and then becomes resident, before a day and a night have passed in both cases, completes the wiping period of a resident. If he wipes while resident and then travels after a day and a night have passed, he must remove the socks, because the period has ended. Likewise, if he wipes while traveling and then becomes resident after a day and a night have passed, he must remove them as well.
Whoever breaks his wuḍūʾ while resident and then wipes while traveling takes the ruling of a traveler as regards the duration of wiping, so long as he does not become resident. It is stated in ʿUmdat al-Sālik wa ʿUddat al-Nāsik (Vol.1/p.15): “If he wipes over both [socks] or one of them while resident and then travels, or wipes while traveling and then becomes resident, or doubts whether he began the wiping while traveling or while resident, he completes only the wiping period of a resident. But if he broke his wuḍūʾ while resident and wiped while traveling, he completes the period of a traveler, whether or not the full time of a prayer had passed over him while resident.” And Allah Almighty knows best.
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 purchase the Udhiyah on installments?
It is permissible to purchase the sacrificial animal (uḍḥiyyah) on installments or by borrowing its price. However, it is not recommended for the poor to do so, because they are not required to offer a sacrifice, and Allah does not burden a soul beyond its capacity. If doing so would lead to negligence in providing for one's dependents (nafaqah wājibah), then giving precedence to obligatory maintenance over borrowing to buy the sacrifice is appropriate. This is based on the saying of the Prophet (peace and blessings be upon him): "It is sufficient sin for a person to withhold food from those whom he is responsible to support."
Furthermore, the sacrifice is valid from one who has a debt, but it is preferable (awlā) to repay the debt first, especially if the debt is due immediately (ḥāll). And Allah Almighty knows best.