Borrowed from Arabic المِخَدَّة (al-miḵadda, “the pillow/cushion”), via Andalusian Arabic. Cognate with Spanish almohada.
Practice speaking and memorizing "almofada" and many other words and sentences in Portuguese.