assalamu alaikum wa rahmatullahi wa barakatuh while praying i said between the sajdas Rabbighfirli once and didnt sat for long, while sitting my feet hurt as i was praying partly on the ground, is my prayer valid or invalid and do i have to repeat it?

Ustadh AbdulAziz al-Haqqan
Valid.