What is the ruling on praying in congregation at the mosque?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
Congregational prayer (Salat al-Jama‘ah) is a communal obligation (Fard Kifayah) for resident men regarding the performance of the prescribed (obligatory) prayers. For men, praying in congregation at the mosque is better than praying elsewhere, such as at home. On the authority of Abdullah bin Umar, the Messenger of Allah ﷺ said: 'Prayer in congregation is twenty-seven degrees more excellent than the prayer of a person alone' (Reported by Bukhari & Muslim). Furthermore, on the authority of Abu Hurayrah, the Messenger of Allah ﷺ said: 'Shall I not tell you that by which Allah erases sins and raises ranks?' They said, 'Of course, O Messenger of Allah.' He said: 'Performing wudu thoroughly despite difficulties, taking many steps toward the mosques, and waiting for the next prayer after the prayer; that is your Ribat (steadfastness)' (Narrated by Muslim).
As for a woman, her praying in congregation at home is better for her than in the mosque, according to the saying of our Master the Prophet ﷺ: 'Do not prevent your women from attending the mosques, but their homes are better for them' (Narrated by Abu Dawood). Young boys should be encouraged to attend the mosques and congregational prayers so they may become accustomed to them. And Allah the Exalted knows best.
Is it permissible to pray for mercy for deceased non-Muslims?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
Yes, it is permissible to pray for mercy upon them.
And Allah Almighty knows best.
Is it permissible to sleep before the time of the Fajr prayer begins, with the intention of waking up shortly afterward?
All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
It is permissible for a Muslim to sleep before the time of the Fajr prayer begins, intending to wake up and perform the prayer, by setting an alarm or asking someone to wake him. What is to be avoided is that a person sleeps while he predominantly assumes that he will not wake up for the prayer.
If he does not wake up until the time of the prayer has ended, he must make it up. It is recommended that he hasten to make it up as soon as he wakes, and likewise recommended that he make up its sunnah along with it.
It is stated in al-Majmūʿ by Shaykh al-Islām Imam al-Nawawī (may Allah have mercy on him): “Whoever was obliged to pray and did not pray until the time passed must make it up, because of the saying of the Prophet (peace and blessings be upon him): ‘Whoever sleeps through a prayer or forgets it, let him pray it when he remembers it.’ It is recommended that he make it up immediately, because of the ḥadīth we have mentioned. If he delays it, that is permissible, because it is reported that the Prophet (peace and blessings be upon him) missed the Fajr prayer and did not pray it until he had left the valley. Had it been required immediately, he would not have delayed it. Abū Is-ḥāq said: If he left it without a valid Sharia excuse, he must make it up immediately, because he was negligent in delaying it.”
It is therefore the duty of every Muslim to keep the prayer in its proper time, seeking help from Allah the Exalted and striving against the self to do so. And Allah Almighty knows best.
How does the person praying perform the prostration (Sujud)?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
It is an act of Sunnah for the person praying to descend for prostration (Sujud) by placing their knees first, then placing their hands on the ground, and then placing their nose and forehead simultaneously. It is obligatory that the toes of the feet be on the ground, directed towards the Qibla. And Allah the Exalted knows best.