Ibrahim performed the two prostrations of forgetfulness, recited the tashahhud in them, then gave the salam.