Modi was shown around various places in the Isha Yoga complex, including the Dhyana Linga, Surya Kund, Nandi statue and the inner and outer corridors (prakaras) by Sadhguru Vasudev.
The Prime Minister offered aarti and showered flower petals over the Dhyana Linga.
He later sat in the Dhyana Linga mandapam, where a yogic dance was performed by a group of youngsters to the accompaniment of traditional music and Sanskrit shlokas.
Modi briefly sat alongside Vasudev in a meditative posture.
The city and the venue of the event was placed under a multi-tier security cover by police and the Special Protection Group, which guards the Prime Minister.