Abu Qatadah reports that the Messenger of Allah said: "When one of you comes to the mosque, he should pray two rak'at before he sits." This is related by the group.