I can think of a proverb : ابعد عن الشر وغنيله (This is in dialect)
In standard Arabic it will be, اِبْتَعِد عَنِ الشَّرِّ وَغَنِّ لَهُ
The Lit. transaltion is : Stay away from the evil, and sing to it.
Litterly it means : عندما يقترب الشر , غن له
In common language : ابعد عن الشر وغن له
Hope that helps