Wa `alaykum As-Salamu waRahmatullahi wa Barakatuh.

It is permissible as long as the contract is conducted in an Islamic way like having witnesses and a guardian and the parties know each other. Scholars preferred that such a type of marriage should be conducted through video conferencing where parties can see each other. This is the decision of the Assembly of Muslim Jurists of America.


Almighty Allah knows best.