In Chapter 56, Quran says people will be put into three groups in the Day of Judgment: companions of left, companions of right, and people in front (or foremost). From the some verses in this chapter, we see that both companions of right, and foremost will go to heaven while companions of left are destined to go to hell. See the verses below:
Quran 56/10-14 talks about foremost.
And those in front––ahead indeed! For these will be the ones brought nearest to God in Gardens of Bliss: many from the past and a few from later generations.
And Quran 56/27-40 talks of companions of right.
Those on the Right, what people they are! They will dwell amid thornless lote trees and clustered acacia with spreading shade, constantly flowing water, abundant fruits, unfailing, unforbidden, with incomparable companions We have specially created–– virginal, loving, of matching age–– for those on the Right, many from the past and many from later generations.
My question is this: what exactly are the differences between foremost, and companion of right? Is it a matter of firmness in the following Islamic faith, i.e., are foremost the people who are more devout, and practicing than an average Muslim? Or, is it a special status given by the God, such as prophethood, i.e., does foremost refer to the prophets, and those who first accepted, followed, and fought besides the prophets etc.