حَدَّثَنَا يَحْيَى بْنُ مُحَمَّدِ بْنِ صَاعِدٍ ، ثنا مُحَمَّدُ بْنُ إِسْمَاعِيلَ الأَحْمَسِيُّ ، ثنا وَكِيعٌ . ح وَحَدَّثَنَا مُحَمَّدُ بْنُ مَخْلَدٍ ، ثنا مُحَمَّدُ بْنُ إِسْمَاعِيلَ الْحَسَّانِيُّ ، ثنا وَكِيعٌ ، ثنا أَشْعَثُ السَّمَّانُ ، عَنْ عَاصِمِ بْنِ عُبَيْدِ اللَّهِ ، عَنْ عَبْدِ اللَّهِ بْنِ عَامِرِ بْنِ رَبِيعَةَ ، عَنْ أَبِيهِ ، قَالَ : " كُنَّا نُصَلِّي مَعَ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فِي السَّفَرِ فِي لَيْلَةٍ مُظْلِمَةٍ فَلَمْ نَدْرِ كَيْفَ الْقِبْلَةُ ، فَصَلَّى كُلُّ رَجُلٍ مِنَّا عَلَى حِيَالِهِ ، قَالَ : فَلَمَّا أَصْبَحْنَا ذَكَرْنَا ذَلِكَ لِلنَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ، فنزلت : فَأَيْنَمَا تُوَلُّوا فَثَمَّ وَجْهُ اللَّهِ سورة البقرة آية 115 " .
Abdullah bin Aamir (may Allah have mercy on him) narrates from his father: Once, during the time of the Prophet Muhammad (peace be upon him), we performed prayer during a journey on an extremely dark night. We could not determine the direction of the Qiblah. Each of us prayed facing the direction he was turned towards. The next day, we mentioned this to the Prophet Muhammad (peace be upon him), and regarding this, the following verse was revealed: "Wherever you may be, Allah's presence will be with you."