Prostration is the right of Allah Almighty alone:
Once, Mu’adh ibn Jabal (may Allah be pleased with him) came to Madinah from Sham and prostrated to the Messenger of Allah ﷺ. The Messenger ﷺ asked: “Mu’adh! What is this?”
Mu’adh said: “O Messenger of Allah! In Sham I saw the Jews and Christians prostrating to their popes, priests and others, so I too did the same out of reverence.” He ﷺ said: “O Mu’adh!”
إنه لا يصلح السجود إلا لله ولو كنت آمرا أحدا أن يسجد لأحد لأمرت المرأة أن تسجد لزوجها من عظم حقه عليها
“It is not permissible to prostrate to anyone other than Allah. If I were to permit anyone to prostrate to anyone, I would command only the woman to prostrate to her husband, because the husband’s status is greater.”