It is narrated from Hazrat Qais bin Asim that he asked the Prophet (peace be upon him) about agreements, so the Prophet (peace be upon him) said: There is no validity in Islam for any agreement that causes discord, but fulfill the good agreements from the time of ignorance.