It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) concerning this saying of Allah Almighty, "We know well what We have made obligatory upon them concerning their wives" [al-Ahzab: 50], that he said: "Allah Almighty made it obligatory upon them that there is no marriage without a guardian, a witness and a dowry (mahr)."
Muhammad bin Ahmad bin Ibrahim (may Allah have mercy on him) worded it (in his narration) as: "Indeed Allah Almighty made it obligatory upon them."