Sahih al-Bukhari, Book 27, Hadith 15 (Bukhari 1752)

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).