In Al-Mahasin it is narrated that Imam Baqir (a.s) said
“Greet others as God has ordained. In fact, divine greeting do not reach the oppressors.”
من كتاب المحاسن عن الباقر (عليه السلام): كان يقول: افشوا سلام الله فإن سلام الله لا ينال الظالمين.
Similar narrations
Al-Kāfi #2180“Salman, May Allah grant him favors, would say, ‘Offer the greeting of peace from Allah openly; the unjust do not receive the greeting of...