وَٱهْجُرْهُمْ هَجْرًا جَمِيلًا
“.. and depart from them courteously.” – Surah Al Muzzammil
Quran teaches us not to scream back when someone screams at us, or to return curse for a curse. The beauty of living lies in being kinder, nicer, and distancing and removing ourselves from such company by clearing our hearts.
Don’t take someone’s negative, harsh attitude as a personal attack on your being- their actions define them, yours define you. Once you shift your perspective to how you can be kind, forgiving following in the footsteps of Prophet ﷺ, your approach will differ a lot and you’ll be able to handle issues with grace and control.