The Mouride, a Sunni brotherhood followed by the majority of Muslims in Senegal, was founded by Senegalese Muslim scholar Sheikh Bamba in 1887.
The place of worship has four prayer rooms and an esplanade, which can host 30,000 people. It also houses an Islamic institute and library.
"Apart from the decoration and the ceiling, all the work was done by Senegalese," Matar Niang, who was responsible for some projects, told Anadolu Agency.
The construction of the mosque cost 25 billion CFA francs ($41 million), raised from financial contributions, according to Mbakiou Faye, who is in charge of the works.