What is the ruling on fasting?
Fasting in Ramadan is an individual obligation (Fard ‘Ayn) upon every mature, sane Muslim who is capable of fasting.
Fasting can also be recommended (Mustahabb), such as voluntary fasting on Mondays and Thursdays, fasting on the Day of Arafah for those not performing Hajj, and fasting on Ashura.
Fasting can be prohibited (Haram), such as fasting on the two Eid days, the Day of Doubt (Yawm al-Shakk), and the Days of Tashreeq.
Some types of fasting are disliked (Makruh), such as singling out Friday or Saturday for fasting without a specific reason and fasting on the Day of Arafah for a pilgrim.
What do you say about someone who stays up all night on Laylat al-Qadr but misses Fajr prayer?
Such a person has deprived themselves of a great reward. Performing obligatory acts is more beloved to Allah than voluntary acts. Fajr prayer is an obligation, and performing it in congregation is equivalent to worshiping for the entire night. So how can someone neglect it while striving for voluntary prayers?!
How many rak‘ahs are there in Tarawih prayer?
The most complete form of Tarawih prayer consists of twenty rak‘ahs, excluding Shaf‘ and Witr. This is the opinion of the majority of scholars, both past and present, and it is the practiced tradition in the two Holy Mosques.
However, Tarawih is valid with any even number of rak‘ahs, even two rak‘ahs, as long as it is performed with the intention of Qiyam al-Ramadan.
Can I start fasting based on the moon sighting of another country?
You must follow the moon sighting of the country you are in.