WE RELATE FROM the book of Ibn as-Sunnī that Ibn ‘Umar
reported: “A young man came to the Prophet
and said: ‘I intend to go and perform Ḥajj.’ So the Messenger of Allah
walked with him and said: ‘Young man, may Allah provide you with the fear of Allah, turn you towards good and be your sufficiency for what is important.’ Then when he returned he greeted the Prophet
, who said: ‘Young man, may Allah accept your Ḥajj and forgive your sins and compensate you for your expenditure.’” [1].

Zawwadaka-llāhu-t-taqwā, wa wajjahaka fi-l-khayr, wa kafāka-l-muhimm.
Qabila-llāhu Ḥajjak, wa ghafara dhanbak, wa akhlafa nafaqatak.
Qabila-llāhu Ḥajjak, wa ghafara dhanbak, wa akhlafa nafaqatak.
And we relate from the Sunan of al-Bayhaqī that Abū Hurayrah
related that the Messenger of Allah
said: “O Allah, forgive the pilgrim and anyone for whom the pilgrim asks for forgiveness.” [2].According to al-Ḥākim, this hadith is ṣaḥīḥ according to the criteria of Muslim.

Allāhumma-ghfir li-l-ḥājj, wa li-mani-staghfara lahu-l-ḥājj.
References
[1] Ibn as-Sunnī (538). According to Ibn Ḥajar this hadith is weak.
[2] as-Sunan al-kubrā of al-Bayhaqī (5/261). Ibn Ḥajar grades it as ḥasan.