Sayyiduna Jabir (may Allah be pleased with him) narrates that the Prophet (peace and blessings be upon him) said: "Every person will be resurrected according to his desire. Whoever desires disbelief will be with the disbelievers, and his knowledge will not benefit him at all."
Imam al-Tabarani recorded this narration in al-Mu'jam al-Awsat; its chain contains weak narrators who have been declared trustworthy.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الزهد / 17992