Rabbi Zecharia Wallerstein stated the following:
The Rambam says that any Jewish person who wants Moshiach because someone died and they want them to come back to life etc. other than wanting G-d to be revealed is called an apikores...
The Shebulei HaLeket says that all the Jewish people who are not waiting for Moshiach - even though they happen to be alive when Moshiach comes, they will not be able to see Moshiach come. They will die...
1) Where does the Rambam say this?
2) Where does the Shebulei HaLeket say this?