Can we layover in different country while travelling to India on H1?

I’m travelling to India from USA for H1B Stamping. Recently I heard that we need to apply for a transit Visa If we layover in a different country apart from few middle eastern countries, is it true ?

For cheap flight rates I have the following options

USA ->Paris ->Abu Dhabi -> India

USA ->Frankfurt -> Abu Dhabi -> India

Can someone confirm is it safe to travel in above connecting flights or do we have to travel directly through middle eastern countries(Abu Dhabi, Doha, Dubai) ?

You will have to check the respective country’s transit visit policy. As far as I know if you have a valid US visa which is not expired you don’t need a transit visa in Frankfurt and Amsterdam. Not sure about Abu Dhabi.