What is the ruling of Islamic Law on making up missed voluntary prayers?
All praise is due to Allah, and peace and blessings be upon our master the Messenger of Allah ﷺ.
It is recommended for a Muslim to make up any missed voluntary prayers — whether the regular Sunnah prayers (rawātib), the witr prayer, or his personal devotional routine (wird). As for voluntary prayers that are tied to a specific cause or occasion — such as the eclipse prayers (kusūf and khusūf) — these are not made up once their time has passed.
Shaykh al-Islām Imām al-Nawawī, may Allah have mercy upon him, stated: "The correct view in our school is that making up the regular voluntary prayers is recommended." [Al-Majmūʿ, Vol. 4/P.43] And Allah the Almighty knows best.
What is the ruling on someone who eats or drinks thinking that the night is still present, then realizes that dawn has broken?
Whoever eats or drinks thinking that the night is still present, then later discovers that dawn has broken, must refrain from eating and drinking for the rest of the day out of respect for the sacred month. However, they must make up that day after Ramadan, and there is no sin upon them.
Can someone who begins a voluntary fast break it?
It is preferable for someone who begins an act of worship not to break it.
Allah the Exalted has said {what means}: "and let not your [good] deeds come to nought!" [Muhammad/33].
However, if a person starts a voluntary fast (nafl) and needs to break it, they are going against what is preferable, but there is no sin upon them.
What is the ruling on X-ray imaging while fasting in Ramadan?
X-ray imaging itself does not break the fast. However, if a person ingests a contrast agent or medication to enhance the imaging process through an open passage to the body cavity (jauf)—such as the mouth or rectum—then their fast is invalidated.