How did the Muslim scholars help the Muslim society?