The only free and comprehensive online etymological dictionary of the Spanish language
marido m. (Noun) "husband"
11th cent. From Latin maritus "marital," from mas "male," a word preserved in Eastern Romance languages (Romanian mare "great"). From Proto-Italic *mās- 'id.' From Proto-Indo-European *meh2-s 'id.'
Indo-European
Romance
Asturian maríu, Portuguese marido, Catalan marit, French mari, Italian marito, Aromanian mãrit, Romanian mărit, Sardinian maridu

"To begin with, we find the words for “husband” and for “wife,” which we will consider in their Latin expressions, marītus and uxor.

"Marītus is peculiar to Latin: as a matter of fact, there is no Indo-European word signifying “husband.” Sometimes the expression “master” was used, e.g. Skt. pati, Greek pósis (πόσις), without any special indication of the tie of conjugality; sometimes we find “the man,” Lat. vir, Gr. anḗr (ἀνήρ), whereas marītus designated the husband in his legal aspect." ~ E. Benveniste, Indo-European Language and Society (1973)