section_path: Religious views
section_name: Religious views
paragraph_text: Religious views
  
  Timur was a practising Sunni Muslim, possibly belonging to the Naqshbandi school, which was influential in Transoxiana. His chief official religious counsellor and adviser was the Hanafi scholar 'Abdu 'l-Jabbar Khwarazmi. In Tirmidh, he had come under the influence of his spiritual mentor Sayyid Baraka, a leader from Balkh who is buried alongside Timur in Gur-e-Amir.
  
  Timur was known to hold Ali and the Ahl al-Bayt in high regard and has been noted by various scholars for his "pro- Shia " stance. However, he also punished Shias for desecrating the memories of the Sahaba. Timur was also noted for attacking the Shia with Sunni apologism, while at other times he attacked Sunnis on religious grounds as well. In contrast, Timur held the Seljuk Sultan Ahmad Sanjar in high regard for attacking the Ismailis at Alamut, and Timur's own attack on Ismailis at Anjudan was equally brutal.