Dara Shikoah, the heir of Jahangir's throne, who was murdered by his own brother for the sake of power was a great Sanskrit scholar who had studied the Hindu scriptures at depth and had written a book called as Majmaul Baharayn (The meeting of the two great oceans, Hinduism and Islam).
Rahim and Raskhan are among the very popular Hindi poets who have written in Brij-bhasha in praise of Lord Krishna.
Syed Wazid Shah wrote Hir and Ranja the greatest classic of medieval times. Sheikh Mohammed has greatly contributed to Marathi literature and Shivaji's guru (saint teacher) Ramdas had special words of praise for him.
one of the Sufi saints Mir Miyan was requested to lay the foundation stone of the Golden Temple.
now this was the harmony in islamic rule and what what you are reading form the bias history.