All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger.
It appears that once you go back to your country and find that people have not yet prayed the ‘Eed prayer, it is permissible for you to pray the ‘Eed prayer with them even if you had already prayed the ‘Eed prayer in the country from which you travelled.
However, you are not permitted to offer the ‘Eed sacrifice except after the ‘Eed prayer has been finished in the country to which you have travelled. This is because each country has its own moon sighting as per the view of many scholars and this is also the view we adopt here in Islamweb. For more benefit, please refer to our Fataawa 86990 and 91940.
Allaah Knows best.