It was narrated from Abu Hurairah that the Messenger of Allah (ﷺ) said:
“People will be resurrected (and judged) according to their intentions.”