John Murphy, 31, smacked the Labour leader with an egg after the MP visited a mosque in his Islington North constituency on March 3.
Murphy, of Whetstone in Barnet, north-west London, pleaded guilty when he appeared at Westminster Magistrates’ Court.
Corbyn was not injured during the incident at the Muslim Welfare House in Seven Sisters Road, Finsbury Park, which came after he had visited Finsbury Park Mosque.
Corbyn later tweeted: “Every year Muslim communities across the country open their doors to people of all faiths and none on #VisitMyMosque Day. It’s a fantastic opportunity to build understanding across communities and educate ourselves about our diverse communities. Let’s build bridges not walls.”
Finsbury park Mosque was the target of a terror attack in 2017, when unemployed Darren Osborne deliberately mowed down worshippers outside.