Is it obligatory to have an intention (niyyah) for every prayer?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
It is obligatory for the worshiper to have a specific intention (Niyyah) for every prayer, meaning they must consciously intend the act of worship they are performing. The intention is a pillar (Rukn) of the prayer, and the prayer is not valid without it. It is not a requirement to utter the intention verbally; rather, doing so is considered a recommended Sunnah. And Allah the Exalted knows best.
What should one do if they see someone deliberately eating or drinking openly during Ramadan?
They must enjoin what is right and forbid what is wrong. If they fear harm from that person, they should disapprove of it in their heart but avoid sitting with them if possible. It is also preferable to seek the help of the authorities to prevent them from doing so.
What is the ruling on the intention of fasting, where is its place, and when is its time?
The intention is a pillar of acts of worship; it is essential, and worship is not valid without it.
Its place is in the heart, and verbalizing it is recommended so that the tongue reminds the heart. Its meaning is to be determined to abstain from nullifiers of fasting during the upcoming day with the intention of worship and obedience to Allah Almighty. This meaning is naturally present in every Muslim on every night of Ramadan, so there is no need for obsessive doubts. If one says, "I intend to fast tomorrow for the sake of Allah," it removes any doubts.
Its time is from after sunset until before the true dawn.
What is the ruling on performing the Istikhara prayer after the Witr paryer?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
The Istikhara prayer (Prayer for seeking guidance) is a Sunnah. It consists of two units (rak’ahs) performed outside of the obligatory prayers, after which the person supplicates with the traditionally narrated du’a. It is permissible to perform it before or after the Witr prayer, as the Istikhara prayer is recommended at all times except during the disliked times—the periods in which prayer is prohibited. This is because its specific reason (the Istikhara and supplication) occurs after the prayer itself, and any prayer with a subsequent reason is not permitted during the prohibited times. It should be noted that the two rak’ahs of Istikhara are not fulfilled by performing only one rak’ah, nor by a prostration of recitation (Sajdat al-Tilawah), nor by a funeral prayer (Janazah). And Allah the Exalted knows best.