From Sahih Bukhari (Hadith 1820):
Narrated Abu Huraira:The Prophet (ﷺ) said, "Whoever performs Hajj to this Ka`ba and does not approach his wife for sexual relations nor commit sins (while performing Hajj), he will come out as sinless as a newborn child, (just delivered by his mother)
Reference: Bukhari 1820