To deal with gossip, we should avoid bad assumptions and hearing gossip, and promote the virtues of others.
O you who have believed, avoid much [negative] assumption. Indeed, some assumption is sin. And do not spy or backbite each other. Would one of you like to eat the flesh of his brother while he is dead? You would detest it. And fear Allah; indeed, Allah is Accepting of Repentance and Merciful.
Allah does not like the public mention of evil except for one who has been wronged. And ever is Allah Hearing and Knowing.
One day, two friends were chatting when one of them started gossiping about another. The other friend gently said, 'My friend, why are you speaking about him? Let’s focus on his positive traits and uplift the spirit of friendship.' This statement created a positive and friendly atmosphere, and they ultimately agreed to speak only of the good from then on.