D'oraita and D'rabbanan: The Shema and Berakhot 1:3

(ג) ואהבת את ה' אלקיך בכל לבבך ובכל נפשך ובכל מאדך: והיו הדברים האלה אשר אנכי מצוך היום על לבבך: ושננתם לבניך ודברת בם בשבתך בביתך ובלכתך בדרך ובשכבך ובקומך: וקשרתם לאות על ידך והיו לטטפת בין עיניך: וכתבתם על מזזות ביתך ובשעריך:

According to the text, how exactly are we supposed to recite the Shema?

(ג) בית שמאי אומרים, בערב כל אדם יטו ויקראו, ובבקר יעמדו, שנאמר (דברים ו) ובשכבך ובקומך. ובית הלל אומרים, כל אדם קורא כדרכו, שנאמר (שם) ובלכתך בדרך. אם כן, למה נאמר ובשכבך ובקומך, בשעה שבני אדם שוכבים, ובשעה שבני אדם עומדים. אמר רבי טרפון, אני הייתי בא בדרך, והטתי לקרות, כדברי בית שמאי, וסכנתי בעצמי מפני הלסטים. אמרו לו, כדי היית לחוב בעצמך, שעברת על דברי בית הלל:

(3) The school of Shammai says: In the evening all people should recline and recite [Shema], and in the morning they should stand, since it says [in the verse (Deut. 6:7)], “And when you lie down and when you arise.” But the school of Hillel says: Each person may recite it in his usual way (posture), since it says (ibid.), “And when you walk on the road.” If so, why does it say “and when you lie down and when you arise”? —[It means:] at the time when people are lying down, and at the time when people are arising. Said Rabbi Tarfon: “I was once traveling on the road, and I reclined to recite [Shema] in accordance with the view of the school of Shammai, and [by doing so] I put myself in danger of [attack by] bandits.” They [the other Sages] said to him: “You would have deserved to be guilty for your own fate, since you went against the view of the school of Hillel.”