Changing one’s intention in worship is not permissible if it disrupts the essence of the act.
For example, if a person intended to perform Hajj Tamattu‘, they cannot change it midway to another type without a valid religious reason. The intention must remain consistent from the beginning to the end of the act.