Sahih al-Bukhari, Book 10, Hadith 39 (Bukhari 627)
Narrated Anas:
Once the Iqama was pronounced and the Prophet (ﷺ) was talking to a man (in a low voice) in a corner of the mosque and he did not lead the prayer till (some of) the people had slept (dozed in a sitting posture) .