It is narrated from Sayyiduna Abu Qatadah (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: "When any one of you enters the mosque, he should perform two rak‘ahs of prayer."