“The Messenger of Allah (ﷺ) did not pray before the ‘Eid prayer, but when he went back to his house he would pray two Rak’ah.”
Sunan Ibn Majah Book 5, Hadith 491