Hazrat Ali (may Allah be pleased with him) said that the prostrations of forgetfulness are after the salutation and before speaking.