(And remember) the Day when We shall call together all human beings with their (respective) Imam. So whosoever is given his record in his right hand, such will read their records, and they will not be dealt with unjustly in the least.
And some of the Salaf said: This is the greatest honor for the 'aSHaab al-Hadiith because their Imaam is the Prophet (sallallaahu alayhi wa sallam).
A group of scholars said the Imaam in this Verse refers to the Book which was revealed to the Prophet (peace be upon them all) of every nation. The Qur'aan was revealed to our Prophet (sallallaahu alayhi wa sallam).
Another group of scholars holds the opinion that the Imaam in the Verse refers to the book of deeds of each person.
Some jaahils think that the Imaam refers to one of the four Imaams. These jaahils of the Ummah are mainly from among the hardcore muqalliduun of this Ummah. They worship their Imaams. They will go to lengths to misinterpret the Qur'aan to defend their falsehood. Stay clear of them.