It is narrated from Hazrat Salim bin Abdullah that Sayyiduna Abdullah bin Umar, may Allah be pleased with them both, used to say that when any one of you has doubt in his prayer, he should consider what he has forgotten, then recite it, and then perform two prostrations of forgetfulness while sitting.