The Messenger of Allah ﷺ said, "There is no man who abandons a fellow Muslim in a situation where his honor is being violated and his dignity is being torn down, except that Allah will abandon him in a situation where he longs for His help. And there is no man who comes to the aid of a fellow Muslim in a situation where his dignity is being torn down and his honor is being violated, except that Allah will come to his aid in a situation where he longs for His help."
حدثنا أحمد بن حجاج قال أخبرنا عبد الله يعني ابن المبارك قال أخبرنا ليث بن سعد فذكر حديثا قال وحدثني ليث بن سعد قال حدثني يحيى بن سليم بن زيد مولى رسول الله ﷺ أنه سمع إسماعيل بن بشير مولى بني مغالة يقول
قال رسول الله ﷺ ما من امرئ يخذل امرأ مسلما عند موطن تنتهك فيه حرمته وينتقص فيه من عرضه إلا خذله الله عز وجل في موطن يحب فيه نصرته وما من امرئ ينصر امرأ مسلما في موطن ينتقص فيه من عرضه وينتهك فيه من حرمته إلا نصره الله في موطن يحب فيه نصرته
Its chain is daif due to the obscurity of Ismail bin Bashir, the freedman of Banu Mughalah, but it is hasan according to Tabarani, as Haythami mentioned from the route of Jabir 7/267, and he graded it hasan, and it is found in Abu Dawud 4/271, number 4884.