it appears that there is 2 rakaa, in the verse where they were at war, people shirtened, the prophet prayed one rakaa with one group than when done with sajda went back and the other group come for the 2nd rakaa of the prophet
abrahem purified the house for people , u see them standing bowing prostratin
another verse speak of companion, it says 'u see them bowing prostrating"