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?!
What is the Sharia basis of the Udhiyah?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
The Sharia basis of the Udhiyah (sacrificial offering) is firmly established through the Quran, the Sunnah, and the Consensus (Ijma') of the Muslims:
1. Evidence from the Holy Quran
Allah the Exalted says {what means}: "And the camels and cattle We have appointed for you as among the symbols of Allah; for you therein is good." [Al-Hajj/36]. He also says {what means}: "So pray to your Lord and sacrifice [to Him alone]" [Al-Kawthar/2]. According to the most well-known scholarly interpretations of this verse, "prayer" refers to the Eid prayer, and "sacrifice" refers to the slaughtering of the Udhiyah.
2. Evidence from the Sunnah
Al-Bara' bin 'Azib (may Allah be pleased with him) narrated that the Prophet ﷺ said: "The first thing we start with on this day of ours is to pray, then we return and sacrifice. Whoever does that has followed our Sunnah, and whoever slaughters before [the prayer], it is merely meat he has provided for his family; it is not part of the ritual sacrifice in any way" [Reported by Bukhari & Muslim].
Anas (may Allah be pleased with him) narrated: "The Prophet ﷺ sacrificed two white rams with horns. He slaughtered them with his own hand, mentioned the name of Allah (Tasmiyah), and said the Takbir" [Reported by Bukhari & Muslim].
3. Evidence from Scholarly Consensus (Ijma')
The Muslims have reached a unanimous consensus on the Sharia basis of the Udhiyah, and no one among the scholars has disagreed with this. [Al-Sherbini, Mughni al-Muhtaj, Vol.6/P.122].And Allah the Exalted knows best.
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 offer prayer at home, or should it be offered in the mosque?
All perfect praise be to Allah, The Lord of The Worlds. It isn`t preferable for the man to pray at home as praying in the mosque is twenty seven times more rewarding. Therefore, this should motivate him to offer prayers in the mosque. And Allah Knows Best.