Bear patiently (O Muhammad) with what they say and leave their company in a polite manner.