My father has knee pain and while getting up from sajdah, he is not able to sit in jalsa position because the bending of knee hurts. He therefore keeps himself bending towards sajda and says “astaghrifullah rabi wa atubu ilayh” then goes back to sajda. Is his namaz ok?