Praise be to Allaah.
The answer is, yes, all of this is permitted, even if it happens before the wedding
party, so long as the contract has been drawn up according to Sharee’ah, with a
guardian and two witnesses, and the proposal has been given and accepted, and both
parties consent to the marriage. And Allaah knows best.