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.
Does the 'aqīqah count as valid if it is slaughtered before the seventh day from the birth?
All praise is due to Allah, and may peace and blessings be upon our Master, the Messenger of Allah.
The time during which it becomes permissible to slaughter the 'aqīqah begins from the moment the newborn is fully delivered from its mother's womb.
If the animal is slaughtered prior to the birth, it does not count as an 'aqīqah — it is simply considered an ordinary sheep slaughtered for its meat.
And Allah Almighty knows best.
Which hour coincides with the last third of the night?
This hour could be figured out by calculating the number of night hours which start at sunset, and end at dawn break, then the total is divided on three to get the result.
What is the ruling on one who performs ablution or the ritual bath while having nail polish?
Nail polish must be removed before ablution or ritual bath so that water reaches what is beneath it, because it is a barrier that prevents water from reaching that area. This is based on the hadith narrated by Ali (may Allah be pleased with him) from the Prophet (peace be upon him): "Whoever leaves a hair's breadth of his body unwashed from major impurity, such and such will be done to him in the Fire." (Reported by al-Bukhari). And Allah the Almighty knows best.