She met members of the Mosque in the city’s Kelvingrove area and stressed that Scotland is an inclusive country which celebrates differences, The Scotsman reported.
She first met leaders at the mosque before visiting an area reserved for female members, where she removed her shoes. She emerged from the visit wearing a pink headscarf before talking with a group of 15 mosque leaders.
Ms Sturgeon said the Scottish government wants to stand shoulder-to-shoulder with the Muslim Community and promote the message that Scotland as a country welcomes diversity.
"We’ve all got a part to play in promoting tolerance and that is challenging extremism.
"I believe that diversity is not a weakness, it’s a strength and it’s something which we should celebrate.”