Asalamualikum sheikh, is it true that a person loses good deeds for simply being in a gathering and hearing the people backbite about a specific individual?

Ustadh AbdulAziz al-Haqqan
This is partaking in it, and it is forbidden to partake in such a thing.