ספר המדות A Righteous Person / Part II · ח
Sefer HaMiddot 2228
ח. מִי שֶׁיּוֹדֵעַ שֵׁמוֹת שֶׁל בְּנֵי הַצַּדִּיקִים שֶׁבַּדּוֹר, הוּא יוֹדֵעַ כָּל הַמְּאֹרָעוֹת שֶׁיִּהְיוּ.
8. Someone who knows the names of the children of the tzaddikim of the generation, he knows all the events that are yet to come.