-Midrash Tehillim, Psalm 72
God created the world to last six thousand years. In the seventh millennium, all souls will stand before the Throne of Glory, and the righteous will receive their reward.
Pirkei DeRabbi Eliezer, Chapter 19
The end is hidden even from the angels, but it will be revealed to Elijah, who will proclaim it to the people when the time is ripe.
-Sifrei Devarim on Deuteronomy 32:35
In the end times, all disputes over the calendar will be resolved, for Elijah will teach the hidden wisdom of God and reveal the secrets of the appointed times.
-Tanna Devei Eliyahu Rabbah 3
The Messianic era will last for 1,000 years. This corresponds to the verse, ‘For a thousand years in Your sight are like a day that has just gone by’ (Psalms 90:4).
-Talmud, Avodah Zarah 9a
Elijah will not come until the generation is entirely guilty or entirely righteous.
-Midrash Tanchuma, Vayeira 6
Just as the seventh day of creation was sanctified and made holy, so too will the seventh millennium be a time of holiness and rest for the righteous.
-Midrash Rabbah, Genesis 2:3
The world was created with the letters of the Torah. Its times and seasons are fixed, and the end of days is engraved upon the tablets of heaven. Yet, repentance can overturn even decrees written in the stars.
-Tanna Devei Eliyahu Zuta 4
If all of Israel were to observe two consecutive Sabbaths properly, they would be redeemed immediately.
-Talmud, Shabbat 118a