Ali bin Salih said: It is valid, because when Ali approved it, he was in the position of the guardian.