Srimad Bhagavatam Canto 10, Chapter 06, Text 32

SB 10.6.32

nunam batarsih sañjato
yogeso va samasa sah
sa eva drsto hy utpato
yad ahanakadundubhih
 
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
Nanda Maharaja and the other gopas exclaimed: My dear friends, you must know that Anakadundubhi, Vasudeva, has become a great saint or a master of mystic power. Otherwise how could he have foreseen this calamity and predicted it to us?
 
Purport by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
This verse illustrates the difference between ksatriyas and innocent vaisyas. By studying the political situation, Vasudeva could see what would happen, whereas Nanda Maharaja, the king of the agriculturalists, could only guess that Vasudeva was a great saintly person and had developed mystic powers. Vasudeva actually had all mystic powers under his control; otherwise he could not have become the father of Krsna. But in fact he foresaw the calamities in Vraja by studying Kamsa’s political activities and thus warned Nanda Maharaja to take precautions, although Nanda Maharaja thought that Vasudeva had predicted this incident through wonderful mystic powers. By mystic powers gained through the practice of hatha-yoga, one can study and understand the future.
Srimad Bhagavatam Canto 10, Chapter 06, Text 31
Srimad Bhagavatam Canto 10, Chapter 06, Text 33