It is narrated from Sayyiduna Anas (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) used to say these words in his supplication: 'Allahumma aqbil bi qalbi ila dinik, wa ihfaz man wara'ana bi rahmatik' (O Allah, turn my heart towards Your religion, and by Your mercy protect those we leave behind).
The chain of this hadith is hasan (good), although the hadith scholars differ about the reliability of its narrator Ya'qub bin Ishaq.