To understand this, you need to know some History.....
The Persians were the first invaders to the Indian subcontinent....they invaded from the North-West.....
Then the Greeks invaded....then the Arabs invaded(after conquering Persia)....but they were all held back in the North-West(modern day Afghanistan and Pakistan)
(Note that the North-Western provinces fell to the invaders as there were mainly Buddhists residing there who were non-violent in nature).
Thus you see that this north-Western region of India(modern day Afghanistan and Pakistan) saw many invasions......
The invaders did what invaders do, they killed, raped, looted, forcibly converted the natives....as a result of which Hybrids like you were created...
The Mughals, who were the only ones able to enter further into central India also did their thing and as a result, Indian Muslims were created...
This is the link between India and Persia....both these ancient civilizations are linked by the HYBRID Muslims of Pakistan, Afghanistan and India...
Thus, when we say that the Indians Share many things with the Persians....we mean that the Hybrid Muslims of the Indian Subcontinent like you, share their Invaders genes....and some invaders culture....
WE HINDUS SHARE NOTHING.....we lived side-by-side and flourished individually for thousands of yrs. among the Middle Eastern Civilization on one side and the Chinese Civilization on the other side.... until the Middle-east invaded....
Have you understood now...who share links with whom....and why Indians(Muslims and Hindus) have separate views on this matter????
Afghanistan has never been considered Indian. It has always been ruled by different Iranic empires. Like the Ghazvanids, Samanids, Aechamids and so on…