From Sahih Bukhari (Hadith 642):
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)
Reference: Bukhari 642