Communities of various religious and ethnic background have lived in the land of what is now Afghanistan. Before the Islamic conquest, south of the Hindu Kush was ruled by the Zunbil and Kabul Shahi rulers. When the Chinese travellers (Faxian, Song Yun, Xuanzang, Wang-hiuon-tso, Huan-Tchao, and Wou-Kong) visited Afghanistan between 399 and 751 AD, they mentioned that Hinduism and Buddhism was practiced in different areas between the Amu Darya (Oxus River) in the north and the Indus River in the south. The land was ruled by the Kushans followed by the Hephthalites during these visits. It is reported that the Hephthalites were fervent followers of the Hindu god Surya.

https://en.wikipedia.org/wiki/Hindu_and_Buddhist_heritage_of_Afghanistan

:)