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." (DE)
English reference (DE): Vol. 3, Book 20, Hadith 2544 (DE)
Arabic reference (DE): Book 20, Hadith 2641 (DE)