The fire was brought under control, and Gardaí are continuing their investigation into the incident.
The Irish Muslim Council has strongly condemned the fire at a mosque on Talbot Street, Dublin, describing it as a shocking attack on a place of worship.
A man in his 40s has since been arrested by Gardaí in connection with the blaze.
Four fire engines, a turntable ladder and more than 20 firefighters and paramedics were sent to the scene after the alarm was raised shortly before 4 o'clock yesterday afternoon.
The fire was brought under control, and Gardaí are continuing their investigation into the incident.
No one was injured and the building was safely evacuated.

Man Appears In Court Charged With Stabbing Of Woman In Waterford Church
Man Due In Court This Morning Charged With Serious Assault Of Woman In Waterford Church
Nationwide Hosepipe Ban In Place From Friday
Court Hears How Garda Was Left With Tennis Ball-Sized Lump On His Forehead After Assault In Dublin City
Man Appears In Court After Public Order Incident In Louth Yesterday
Osgur Breatnach's Wrongful Conviction For Sallins Train Robbery Declared Miscarriage Of Justice
Seven New Kildare Charities Registered Last Year
Man Arrested After Woman Stabbed In Waterford