It was narrated from Muhammed bin Al-Hanafiyyah that his father said:
"The Messenger of Allah said:
'The key to prayer is purification, its opening is to say 'Allahu Akbar' and its closing is to say As-salamu 'alaikum.'" (Ibne Majah)