“People will be gathered (on the Day of Resurrection) according to their intentions.”

Sunan Ibn Majah Book 37, Hadith 131