Mughal emperor Akbar is against sati. He had allowed Sati to take place only if the wife willingly wanted to follow it. But many times woman were forced to commit Sati or pushed into funeral pyre by her own relatives and this was against the law. Akbar banned “forced” Sati after the incident with his wife’s cousin Rani Damayenti.
Barani was a contemporary of Muhammad bin Tughlaq and Firuz Shah Tughlaq both. He wrote a number of renowned texts, such as the Fatwa-i-Jahandari, which elaborates on the principles to be followed by Muslim rulers to attain merit.