Sunan Ibn Majah, Book 20, Hadith 12 (Ibn Majah 2546)

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