Is it obligatory to have the intention for each day of fasting, or is one intention sufficient for the whole month?
The intention is obligatory for each day of Ramadan because each day is an independent act of worship separate from the others.
The intention must be made at night before the break of dawn, as the Prophetﷺ said: "Whoever does not intend fasting at night, there is no fast for him." [An-Nasa’i]
And he also said: "Whoever does not firmly resolve to fast before dawn, there is no fast for him." [At-Tirmidhi, Abu Dawood, and An-Nasa’i]
Whoever wakes up and eats Suhoor while mindful of fasting has made the intention. Likewise, one who firmly intends at any moment during the night to fast the next day has also fulfilled the intention.
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.
I bought an apartment, and I am saving money to pay the remaining balance of its price — is zakāh obligatory on this money?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
Zakāh is obligatory on all saved/hoarded wealth. Once the total wealth reaches the niṣāb (minimum threshold liable for zakah— equivalent to the value of 85 grams of pure 24-karat gold) and a full ḥawl (lunar year) has elapsed over it, zakāh becomes obligatory at a rate of (2.5%) — even if the wealth is earmarked for basic future needs, and even if the wealth's owner is in debt. Debt does not prevent the obligation of zakāh, nor is it deducted when calculating the zakāh due, based on the general and unrestricted wording of all the Qur'anic verses commanding zakāh, which draw no distinction between someone in debt and anyone else.
It is stated in ‘Umdat as-Sālik, from the books of the Shāfi‘ī school: "If someone possesses exactly the niṣāb, and owes an equivalent amount in debt, zakāh remains obligatory on what is in his possession, and the debt does not prevent this obligation" — meaning, the obligation of zakāh on what is presently in his possession.
The ḥawl (annual cycle) recognized for zakāh, as well as for the other sharī‘ah obligations that Allah, the Exalted, has imposed upon Muslims, is the Hijrī (lunar) year. And Allah, the Exalted, knows best.
Is it permissible for one to give the Zakah (obligatory charity) to his indebted brother?
It is permissible for one to give the Zakah to his brother if he was indebted, or poor.