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.
Is the marriage, which lacks a valid legal contract, a guardian, and a court registration, valid?
It is incumbent that a valid marriage contract be concluded in the presence of a guardian and two trustful witnesses, and it should be registered in the court to protect the rights of the wife. Actually, a valid marriage contract is what differentiates between sound marriage and fornication.
What is the ruling on the ablution of one who washes his arms from the wrist to the elbows?
In the school of Imam al-Shafi'i (may Allah have mercy on him), washing the arms (hands) is achieved by washing the arms completely, from the fingertips to the elbows. Washing only the palms at the beginning is insufficient, as washing them at the beginning is a Sunnah, but after washing the face, it becomes obligatory (fard). The person performing ablution must wash his palms along with the arms after washing the face. If he does not wash his palms, his ablution is invalid and not correct. And Allah the Almighty knows best.
What is the ruling on preparing food for someone who is not fasting in Ramadan?
It is forbidden to prepare food for someone who is breaking their fast without a valid excuse in Ramadan.
Doing so would be assisting in sin, and assisting in sin is itself a sin.
Allah says {what means}: "but help ye not one another in sin and rancour" [Al-Mai`dah/2]