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.
The Qanun-i Humayuni which is also called Humayun Namah was composed in 1534 CE by Khvandamir who was one of the officials under Humayun’s patronage. The memoir is an eyewitness account of Humayun’s reign.