Imam al-Sha'bi narrates that Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) said: Whoever misses the Eid prayer should offer four rak'ahs. Al-Tabarani recorded it in al-Mu'jam al-Kabir, and its narrators are thiqat (trustworthy).