The first Indian Prime Minister who visited Afghanistan is

Jawahar Lai Nehru
I.K. Gujaral
A. B. Bajpai
Man Mohan Singh

The correct answer is (a) Jawahar Lai Nehru.

Jawahar Lal Nehru was the first Prime Minister of India, serving from 1947 until his death in 1964. He was a leader of the Indian independence movement and a founding member of the Indian National Congress. Nehru was a socialist and a secularist, and he is considered to be one of the most important figures in Indian history.

Nehru visited Afghanistan in 1950, becoming the first Indian Prime Minister to do so. The visit was significant because it marked the beginning of a close relationship between India and Afghanistan. Nehru and Afghan Prime Minister Sardar Mohammad Hashim Khan signed a number of agreements during the visit, including a treaty of friendship and non-aggression.

The other options are incorrect.

(b) I.K. Gujral was the 12th Prime Minister of India, serving from 1997 to 1998. He was a member of the Janata Dal party. Gujral did not visit Afghanistan during his time as Prime Minister.

(c) A. B. Bajpai was the 1st Foreign Minister of India, serving from 1947 to 1951. He was a member of the Indian National Congress. Bajpai did not visit Afghanistan during his time as Foreign Minister.

(d) Manmohan Singh was the 13th Prime Minister of India, serving from 2004 to 2014. He was a member of the Indian National Congress. Singh visited Afghanistan in 2005, 2008, and 2011.