And We made them the Imams who guided (people) under Our command, and We inspired them to do good deeds and to establish Salāh and pay Zakāh, and Us alone they worshipped.
As for LūT, We gave him wisdom and knowledge, and We delivered him from the town that used to do dirty deeds. Indeed, they were the people of evil, the sinners.