Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:3399Abū al-Ḥasan al-Muqriʾ > al-Ḥasan b. Muḥammad b. Isḥāq > Yūsuf b. Yaʿqūb al-Qāḍī > Sulaymān b. Ḥarb > Yazīd b. Ibrāhīm > Abū al-Zubayr > Jābir

[Machine] The Prophet ﷺ sent him on an errand, so he came while the Prophet ﷺ was praying and greeted him, but he did not respond to him and signaled with his hand. When he finished the prayer, he said, "It was not a hindrance for me to respond to you except that I was praying."  

البيهقي:٣٣٩٩أَخْبَرَنَاهُ أَبُو الْحَسَنِ الْمُقْرِئُ أنبأ الْحَسَنُ بْنُ مُحَمَّدِ بْنِ إِسْحَاقَ ثنا يُوسُفُ بْنُ يَعْقُوبَ الْقَاضِي ثنا سُلَيْمَانُ بْنُ حَرْبٍ ثنا يَزِيدُ بْنُ إِبْرَاهِيمَ عَنْ أَبِي الزُّبَيْرِ عَنْ جَابِرٍ

أَنَّ النَّبِيَّ ﷺ بَعَثَهُ إِلَى حَاجَةٍ لَهُ فَجَاءَ وَالنَّبِيُّ ﷺ يُصَلِّي فَسَلَّمَ عَلَيْهِ فَلَمْ يَرُدَّ عَلَيْهِ وَأَوْمَأَ بِيَدِهِ فَلَمَّا سَلَّمَ قَالَ إِنَّهُ لَمْ يَمْنَعْنِي أَنْ أَرُدَّ عَلَيْكَ إِلَّا أَنِّي كُنْتُ أُصَلِّي  


See similar narrations below:

Collected by Muslim
muslim:540cAbū Kāmil al-Jaḥdarī > Ḥammād b. Zayd > Kathīr > ʿAṭāʾ > Jābir

We were in the company of the Messenger of Allah ﷺ, and he sent me on an errand, and when I came back (I saw him) saying prayer on his ride and his face was not turned towards Qibla. I greeted him but he did not respond to me. As he completed the prayer, he said: Nothing prevented me from responding to your greeting but the fact that I was praying.  

مسلم:٥٤٠cحَدَّثَنَا أَبُو كَامِلٍ الْجَحْدَرِيُّ حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ عَنْ كَثِيرٍ عَنْ عَطَاءٍ عَنْ جَابِرٍ قَالَ

كُنَّا مَعَ النَّبِيِّ ﷺ فَبَعَثَنِي فِي حَاجَةٍ فَرَجَعْتُ وَهُوَ يُصَلِّي عَلَى رَاحِلَتِهِ وَوَجْهُهُ عَلَى غَيْرِ الْقِبْلَةِ فَسَلَّمْتُ عَلَيْهِ فَلَمْ يَرُدَّ عَلَىَّ فَلَمَّا انْصَرَفَ قَالَ إِنَّهُ لَمْ يَمْنَعْنِي أَنْ أَرُدَّ عَلَيْكَ إِلاَّ أَنِّي كُنْتُ أُصَلِّي