I don’t think it’s a mosque- no minaret, for instance. It fits the definition of rabat better- a forward fort, frontier outpost, a place to train fighters and for fighters to rest.
Rabats are built at the edge of conquered lands.
Seriously? They are almost complete and have scheduled to open on September 11th?