It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "The key to prayer is purification; what makes (worldly matters) forbidden in it is the takbir, and what makes them permissible again is the salam."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 11321