Bhagavad Gita · 8.23
यत्र काले त्वनावृत्तिमावृत्तिं चैव योगिनः।प्रयाता यान्ति तं कालं वक्ष्यामि भरतर्षभ॥
yatra kāle tv anāvṛttim āvṛttiṁ chaiva yoginaḥ prayātā yānti taṁ kālaṁ vakṣhyāmi bharatarṣhabha
O best of the Bharatas, I shall now describe the times at which yogis depart, attaining either return or no return.
— Bhagavad Gita 8.23
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)