Ibrahim says that the prayer he performed first will be considered obligatory, and this one will be considered voluntary.