How can the servant of Allah enter Jannat-e-Firdaus? What is the best supplication one can use to help them in education or gaining knowledge? How can someone see the Prophet (S.A.S) in his dream?

Allah has promised heaven for doing good deeds with iman. We should continue trying and asking Allah for Jannatul Firdaus. To actually gain and enter Jannatul Firdaus is only a blessing from Allah. To enter any type of heaven, especially Jannatul Firdaus is only an only with the special blessing of Allah. That’s why, we should continue asking for the blessings of Allah, as we have been commanded to do in the ahadiths.
but if for some reason and your dua is not accepted and you do not see him in your dream, you should not consider yourself unblessed or deprived. If you do see him it is a great blessing and gift from Allah and you should thank HIM.
To see the Messenger of Allah in one’s dream is the desire of every Muslim; and no doubt you also have this desire, but this is not in our control. In order to attain those things which are not under our control, we can make dua and ask Allah to give to us. If Allah decrees it and accepts then you will see him;
but if for some reason and your dua is not accepted and you do not see him in your dream, you should not consider yourself unblessed or deprived. If you do see him it is a great blessing and gift from Allah and you should thank HIM.
Original Source Link (from Way Back Machine archive)