Yoga Sutra 3.42 he travels through space
Sūtra III.42
From saṃyama on the relation between the body and space, followed by identification-in-samādhi (samāpatti) with the lightness of a thread, he travels through space
When there is the body, there is space. Its relation to the body is by the fact that it gives that scope to the body. When his saṃyama has mastered the relation between the two, if the yogin then makes identification-in-samādhi with light things, from cotton thread down to the ultimate atoms, he becomes light. He treads upon the waters with his feet, he walks on strands of spiders’ webs, he goes on the sunbeams. Thereafter he takes any course through space as he wills.
When there is the body, there is space. The necessarily inherent relation to the body is by the fact that it space gives that scope to the body. When a yogin’s saṃyama has mastered the relation between the two, the necessarily inherent mutual relation between body and space, if he makes identification-in-samādhi with light things, from cotton thread down to the ultimate atoms, he becomes light. Having mastered the relation, he first attains the lightness of cotton. The yogin whose identification-in-samādhi (samāpatti) has mastered the relation between body and space, to practise the lightness which is first like cotton, treads on waters with his feet, and then going higher walks on strands of spiders’ webs, and then becoming light as a spark from a firebrand he goes on the sunbeams, and then on the wind. Thereafter he takes any course through space as he wills.