The World Federation One Stop Fiqh

Ruling 2480

If a man has sexual intercourse with his wife [while fasting] in the month of Ramadan or when she is in the state of ḥayḍ, he will have sinned. However, if a child is born to them, the child is considered to be of legitimate birth.