The Iqama for the prayer was announced while a man was talking to Allah's Messenger (ﷺ)…

Sahih al-Bukhari Book 79 Hadith 64

Sahih al-Bukhari #6292

Asking Permission 79:64

Narrated Anas:

The Iqama for the prayer was announced while a man was talking to Allah's Messenger (ﷺ) privately. He continued talking in that way till the Prophet's companions slept, and afterwards the Prophet (ﷺ) got up and offered the prayer with them.

Chapter: Holding secret counsel for a long while

Grade: Sahih