It wasnarrated that Ibn 'Abbas said:
"The Messenger of Allah (ﷺ)forbade performing prayer behind one who is engaged in conversationorone who is sleeping." (RU)
English reference (RU): Vol. 1, Book 5, Hadith 959 (RU)
Arabic reference (RU): Book 5, Hadith 1012 (RU)