We have narrated in the hadith of Sayyidah Aishah (may Allah be pleased with her) that the Prophet (peace and blessings be upon him) said: "Any condition that is not in the Book of Allah is void, even if they are a hundred conditions."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الشركة / Q11429