I am an Afghan citizen travelling to Sri Lanka from Kabul. I have a layover at Delhi Airport with a flight change. Please let me know in case i need a transit visa.
A visa is not required, if the trip was made on the same booking, you transit within 24 hours and stay within the transit area:
A visa is not required to transit only if you will remain within the transit area reserved for international transit passengers for the duration of time you are in an Indian Airport and you will not pass through immigration.
Note: If collecting bags, you will need a visa:
You have to pass immigration to collect bags so will need a visa. Ideally you need to check your bags through to your final destination so you can remain in transit in Delhi.