What is the ruling on congregational prayer performed outside the mosque, and is it a condition that it be performed in a mosque in order to attain the full reward?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah ﷺ.
It is not a condition for attaining the reward of congregational prayer that it be performed in a mosque; however, a Muslim should still be keen to perform his prayers in the mosque, so as not to miss out on immense reward. This is due to the virtue of the mosque and of spending time there (i‘tikāf), the typically larger number of worshippers present, and the additional reward gained through walking to and from the mosque. On the authority of Abū Hurayrah (raḍiyallāhu ‘anh), the Messenger of Allah ﷺ said: "Whoever purifies himself in his house, then walks to one of the houses of Allah to fulfill one of the obligations Allah has prescribed, one of his steps will erase a sin, and the other will raise him a degree [in status]." (Related by Muslim)
Whoever misses congregational prayer at the mosque should still strive to pray in congregation at his workplace, or together with the members of his household. And Allah, the Exalted, knows best.
Is it a condition that one should offer two sacrifices for a male newborn?
It is desirable to offer two sheep for a male newborn, and one for a female newborn. Offering one sheep for the male newborn is also permissible as it observes the Prophet`s Sunnah in this regard.
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 if someone wipes his head then shaves it - must he repeat it?
If a person performing ablution shaves his head after wiping it during ablution, he is not required to re-wipe his head or repeat the ablution. And Allah the Almighty knows best.