What is the ruling on someone who eats or drinks thinking that the sun has set, then realizes that it has not yet set?
Whoever eats or drinks believing that the sun has set, then later discovers that it has not yet set, their fast is invalid, and they must make up that day after Ramadan. It is not permissible to break the fast before confirming sunset—either by seeing it, through personal reasoning, or by relying on the statement of someone trustworthy in their religious commitment.
What is the ruling on water present on the floor of a toilet/bathroom?
The default ruling is the purity of this water present on the bathroom floor. If one is certain or strongly suspects its impurity, then one washes whatever part of the body or clothing this impure water has touched. If one doubts its impurity, the default is purity, and we do not rule it impure based on mere doubt. 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.
What is the expiation for perjury?
One who commits perjury should repent, seek Allah`s forgiveness and offer an expiation which is: feeding ten indigent persons, or clothing them, or giving a slave his freedom, but if that is beyond his means then, he should fast for three days. Allah, The Almighty, Says in this regard (What means): "Allah will not call you to account for what is futile in your oaths, but He will call you to account for your deliberate oaths: for expiation, feed ten indigent persons, on a scale of the average for the food of your families; or clothe them; or give a slave his freedom. If that is beyond your means, fast for three days. That is the expiation for the oaths ye have sworn. But keep to your oaths. Thus doth Allah make clear to you His signs, that ye may be grateful." [Al-Ma`idah/89].