Sunan Abi Dawud 618

سنن أبي داود#618Sahih

Narrated Ali ibn AbuTalib: The Prophet (ﷺ) said: The key of prayer is purification; takbir (saying "Allah is most great") makes (all acts which break prayer) unlawful and taslim (uttering the salutation) makes (all such acts) lawful

Scholarly Authentication

We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:

Al-AlbaniHasan Sahih
Muhammad Muhyi Al-Din Abdul HamidHasan Sahih
Shuaib Al ArnautHasan Lighairihi

In-book reference: 2:228