Sunan Abi Dawud, Book 2, Hadith 613 (USC-MSA) ⓘ
Narrated Abdullah ibn Mas'ud: Alqamah and al-Aswad sought permission from Abdullah (ibn Mas'ud) for admission, and we remained sitting at his door for a long time. A slave-girl came out and gave them permission (to enter). He (Ibn Mas'ud) then got up and prayed (standing) between me (al-Aswad) and him (Alqamah). He then said: I witnessed the Messenger of Allah doing similarly.
حَدَّثَنَا عُثْمَانُ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا مُحَمَّدُ بْنُ فُضَيْلٍ، عَنْ هَارُونَ بْنِ عَنْتَرَةَ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ الأَسْوَدِ، عَنْ أَبِيهِ، قَالَ اسْتَأْذَنَ عَلْقَمَةُ وَالأَسْوَدُ عَلَى عَبْدِ اللَّهِ وَقَدْ كُنَّا أَطَلْنَا الْقُعُودَ عَلَى بَابِهِ فَخَرَجَتِ الْجَارِيَةُ فَاسْتَأْذَنَتْ لَهُمَا فَأَذِنَ لَهُمَا ثُمَّ قَامَ فَصَلَّى بَيْنِي وَبَيْنَهُ ثُمَّ قَالَ هَكَذَا رَأَيْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم فَعَلَ .
also referenced under: Hadith 613 (DarusSalam) & Hadith 613 (Hasan)