Sunan Abi Dawud, Book 2, Hadith 304 (Abu Dawud 694)

Narrated Abdullah ibn Abbas:

The Prophet (ﷺ) said: Do not pray behind a sleeping or a talking person.