Afghans made their first expedition into India in 705 AD, when their contingent from Khurasan, then under the rule of Abdul Malik Hijjaj bin Yousuf joined Muhammad bin Qasim to Sind. (Henry Priestly, “Inhabitants of Afghanistan” p- 25.)
See also The Encyclopaedia of Islam p-782
You are using labels like afghans and pashtuns loosely and rewriting history, you remind me of pdf Indians historians.