In Rauzat al-Vaezeen it is narrated that God's Prophet (a.s) said
“On the Resurrection Day, those who worshipped the people will be called on to go and get their reward from the same people they worshipped since God does not accept any deeds that are mixed with material worldly affairs.”