قَالَ مَالِك : وَهُوَ الْأَمْرُ عِنْدَنَا . قَالَ مَالِك فِي رَجُلٍ وَجَدَ النَّاسَ قَدِ انْصَرَفُوا مِنَ الصَّلَاةِ يَوْمَ الْعِيدِ : إِنَّهُ لَا يَرَى عَلَيْهِ صَلَاةً فِي الْمُصَلَّى وَلَا فِي بَيْتِهِ ، وَإِنَّهُ إِنْ صَلَّى فِي الْمُصَلَّى أَوْ فِي بَيْتِهِ ، لَمْ أَرَ بِذَلِكَ بَأْسًا وَيُكَبِّرُ سَبْعًا فِي الْأُولَى قَبْلَ الْقِرَاءَةِ ، وَخَمْسًا فِي الثَّانِيَةِ قَبْلَ الْقِرَاءَةِ
Imam Malik, may Allah have mercy on him, said: This is the ruling according to us.
Imam Malik, may Allah have mercy on him, said: If a person reaches the Eid ground and sees that the people have finished the Eid prayer, then he should not perform the Eid prayer, neither at the Eid ground nor at his home. However, if he does perform it, whether at the Eid ground or at his home, there is no harm in it. But in the first rak'ah, he should say seven takbirs before the recitation, and in the second rak'ah, five before the recitation. And according to Sufyan Thawri, may Allah have mercy on him, and Imam Ahmad, may Allah have mercy on him, if one performs the Eid prayer alone, he should perform four rak'ahs, because Sa'id bin Mansur narrated that whoever misses the Eid prayer with the Imam should perform four rak'ahs. According to Imam Abu Hanifa, may Allah have mercy on him, the Eid prayer is obligatory, and according to Imam Malik, may Allah have mercy on him, and the majority of scholars, it is Sunnah, and this is the correct view.