It is narrated from Hasan al-Basri (may Allah have mercy on him) that he used to say: "A secret (dowry) is valid and an open one is invalid."