The verse in this regard says...
The verse in this regard says: “And on the Day He will muster them, as if they had tarried but an hour of the day, they will recognize each other...” Therefore, the real losers are those people whose negation of the Resurrection deprives them from the eternal benefits of the life of Hereafter, and are content with worldly pleasures. On the contrary, the believers enjoy both worldly divine blessings and a share in the Hereafter as well.
Then Allah is witness to (all) what they do.” The punishment of some of the infidels took place during the Badr, Hunayn, Ahzab and the conquest of Mecca. After the death of the Prophet (S), Allah’s Power is extended to apply punishment upon those who deserve it. Therefore, Allah takes note of the acts of the disbelievers and punishes them, whether at the present time or at other times. Hence, Muslims need not despair because of the delay in the Divine Judgment concerning these people.
“And for every people there is a Messenger. Then when their Messenger comes, (on the Day of Judgment), the matter will be judged between them with justice, and they will not be dealt with unjustly.” That is, for every group which follows a prescribed Path and has a common religion, like the nation (ummah) of Muhammad (S), the nation of Moses (as) and that of Jesus (as), there is a messenger and a prophet, whom Allah (s.w.t.) has appointed for them and has commissioned them to convey His message.