Inadeer it doesnt say in the quran how many rakat for each salat. So the companions saw and recoreded in the hadith. My point is the quran and sunnah that is written in the hadith compliment each other. Wey iis macneyanBrother nobody learned how to pray from the Hadith. This is something that was observed from the prophet pbuh, every sect I know of pray the same. Only difference is the hand position.
https://aldawah.wordpress.com/2008/12/27/prayer-according-to-sahih-hadiths/Alright find me the Hadith about prayer