This is not my opinion and this discussion has been going on for years, centuries even
"Whether Khusrau composed any poetry in Hindi or not, and whether the riddles and other
dohas ascribed to him are his or not, is a debate that may have begun in nineteenth century when scholars started collecting and compiling Khusrau’s poetry. So far no authentic document containing Khusrau’s Hindvi poetry has been found which would date back to earlier than 18th century AD, unlike those containing his Persian works which are as old as 500 years or even older. "
And even what is contributed to him it was hindavi and you can hardly call it Urdu. Its a million miles more far off than Shakespearean English is to modern English.