It was narrated that Anas said:
"The Messenger of Allah (ﷺ) would come down from the minbar and a man would come to him and speak to him, then the Prophet (ﷺ) would listen to him until he gave him an answer, then he would go to his place of prayer and pray."
App reference: Book 14, Hadith 56
English reference: Vol. 2, Book 14, Hadith 1420
Arabic reference: Book 14, Hadith 1430