The Prophet ﷺ said, "Whoever performs the pilgrimage to this House without engaging in obscene speech or wrongdoing will return as pure as the day his mother gave birth to him."
حدثنا محمد بن جعفر حدثنا شعبة عن منصور عن أبي حازم
عن النبي ﷺ قال من حج هذا البيت فلم يرفث ولم يفسق رجع كما ولدته أمه
Its isnad is sahih. Bukhari reported it, 4/20, no. 1819 (Fath), in the chapter on the one prevented from completing Hajj, as did Muslim in the book of Hajj, chapter on the merit of Hajj, no. 438, Tirmidhi, 811, and Nasai, 5/114, no. 2627.