Read hadith and know hadith yourself
Bismillahir rahmaanir raheem
Narrated Ibn ‘Umar (R) : Whenever the prophet recited the Sura which contained the prostration of recitation he used to prostrate and then , we , too, would prostrate and some of us did not find a place for prostration .
Narrated Ibn ‘Abbas : The Prophet once stayed for nineteen days and prayed shortened prayers . So when we travel led for nineteen days , we used to shorten the prayer but if we traveled for a longer period we used to offer the full prayer .
Narrated ‘Abbas bin ‘Umar : I offered the prayer with the prophet , Abu Bakr and ‘Umar at Mina and it was of two Rakat . ‘Uthman in the early days of his caliphate did the same , but later on he started praying the full prayer .