Question: What became the main source of law with increasing Islamic influence in Egypt?
Sentence: Under Anwar Sadat, Islam became the official state religion and Sharia the main source of law.
Answer in sentence: yes