The Messenger of Allah ﷺ said, "People will be raised up according to their intentions."
حدثنا أحمد بن سنان ومحمد بن يحيى قالا حدثنا يزيد بن هارون عن شريك عن ليث عن طاوس
قال رسول الله ﷺ إنما يبعث الناس على نياتهم
No references are available.
[Sahih] Ahmad narrated it: 2/392, from the hadith of Sharik, transmitted through him. It has a corroborating narration in Muslim, see the hadith that follows.