Offering Congratulations on Eid
Jubayr ibn Nufayr (radi Allahu anhu) said: When the companions of the Prophet (sal Allahu alaihi wa sallam) met one another on the day of Eid, they would say to one another, “May Allah accept (good deeds) from us and from you. (Taqabbala Allaah minna wa minkum)”
[Ibn Hajar said, its isnaad (chain) is Hasan. Al-Fath Bari]
The etiquette of Eid includes the congratulations and good wishes exchanged by people, no matter what the wording, such as saying to one another Taqabbala Allaah minna wa minkum (May Allah accept (good deeds) from us and from you” or “Eid mubaarak” and other permissible expressions of congratulations.
Offering congratulations was something that was well known among the Sahaabah (radi Allahu anhum), and scholars such as Imam Ahmad (may Allah have mercy on him) and others allowed it. There is evidence which suggests that it is prescribed to offer congratulations and good wishes on special occasions, and that the Sahaabah congratulated one another when good things happened, such as when Allah accepted the repentance of a man, they went and congratulated him for that, and so on.
Undoubtedly these congratulations are among the noble characteristics among the Muslims.
Shaykh Ibn ‘Uthaymeen (may Allah have mercy upon him) was asked: What is the ruling on offering Eid greetings and is there a particular wording to be used?
He replied: “It is permissible to offer greetings and congratulations on Eid, and there is no specific greeting. Rather the greetings that people customarily use are permissible so long as no sin is involved.”
He also said: “Some of the Sahaabah offered greetings and congratulations on the occasion of Eid. Even if we assume that they did not do that, it has now become something customary that people are used to doing, congratulating one another on the occasion of Eid and on completing the fast and qiyaam.
And he was asked: what is the ruling on shaking hands, embracing and congratulating one another after the Eid prayer?
He replied: “There is nothing wrong with these things, because people do not do these things as acts of worship intended to draw them closer to Allah, rather they do them because they are customary, and to honour and show respect to one another. So long as there is nothing in sharee’ah to indicate that a custom is forbidden, then the basic principle is that it is permissible.” [Majmoo’ Fataawa Ibn ‘Uthaymeen, 16/208-210.]
And Allah knows best!