If both of you and the imam were together in the state of ruku long enough
to say Subhana rabbiyal atheem once, this Rakah is valid.
If both of you and the imam were together in the state of ruku long enough
to say Subhana rabbiyal atheem once, this Rakah is valid.