It was narrated from Abu Hurairah that the Messenger of Allah (ﷺ) said:
"Whoever covers (the sin of) a Muslim, Allah will cover him (his sin) in this world and in the Hereafter." (PT)
English reference (PT): Vol. 3, Book 20, Hadith 2544 (PT)
Arabic reference (PT): Book 20, Hadith 2641 (PT)