The purpose of this article is to prove that Urdu is derived from Ghaznavid Persian, which is in turn derived from Avestan via Sassanid Pahlavi. It shall thence be evident that the ultimate ancestor of Urdu is Avestan, making it a member of the Iranian family of languages.
The first and most basic evidence which strikes an observer is the Persian-Islamic script of Urdu, as well as the extremely high percentage of Persian words in Urdu vocabulary. In fact, even in Musalmani (Muslim Bengali) an eastern dialect of Urdu spoken mainly Bangladesh and influenced by Bengali, one finds a significant proportion of Persian words. At least 60% of the vocabulary of Punjabi, a rustic western dialect of Urdu, is of also Persian origin:
"If more than 60% of the words are common in Punjabi and Urdu (Shriram 1928:67) it is due to the influence of Persian."[1]
More detailed investigations only confirm the precurosry impressions. Indeed, several researchers have traced the origin of Urdu to the camps of Mahmud-e-Ghazni. Thus, K.K.Khullar notes:
"The birth of Urdu language was the direct result of the synthesis between the invading armies of Mahmud of Ghazni with the civilian population of the Indian cities. The word Urdu itself means Lashkar, derived from the Turkish language meaning armies."[2]
Indeed, the Ghaznavid origin of Urdu follows from the very name of the language - Zaban-e-Urdu, or "Language of the Armies". The word "Urdu" is derived from the Turkic "Oordou", meaning "camps" or, as Khullar notes above, "armies".
Urdu was thus self-evidently the language of the soldiers of the armies of Mahmud-e-Ghazni, the only militarist sovereign of the era who maintained a large enough army for a considerable period to provide sufficient time for a new language to develop. It is for this same reason that the earliest surviving Urdu literature is that of Sufi saints who accompanied the Ghaznavids during their expeditions.
http://www.iranchamber.com/literature/articles/language_of_armies.php