My Question is if Judgement day has not occurred yet and no one is in Hell or Paradise how is it that the Prophet Muhammad (peace and blessing be upon him) saw people being punished in Hell already and the prophets, children, and people already in Paradise.
Praise be to Allaah.
How the Prophet (peace and blessings of Allaah be upon him) saw in this world some events of the Hereafter
If we believe that Allaah is able to do all things, the matter is easy for us, and we believe what the Prophet (peace and blessings of Allaah be upon him) has told us. Allaah is the Creator of time and is able to show His Prophet in this world things that will happen on the Day of Resurrection, just as He showed him Paradise and Hell on the wall when he prayed Salaat al-Kusoof (the eclipse prayer), and he almost brought his companions a bunch of grapes from the fruits if Paradise, even though the distance between earth and Paradise is so immense. The One Who brought the place near is not incapable of doing whatever He wills with regard to time and of showing His Prophet in this world living scenes of what will happen on the Day of Resurrection. Your Lord is Able to do all things.