The Anwar Mosque, located in the busy central Merkato district, is one of the main places of worship for Muslims in the capital.
"So far we have no idea who is responsible for this incident," Communication Minister Getachew Reda told AFP.
"17 people were injured including some seriously injured, but no fatalities," he added.