Semi-learned borrowing from Malay sembahyang, from sembah (“to worship”) + yang (“divine being”).
سمايٍي (səmayɛ) (Thai spelling ซือมาแย)