“People will be resurrected (and judged) according to their intentions.”
Sunan Ibn Majah Book 37, Hadith 130