USC-MSA web (English) : Book 9, Hadith 81
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
وَحَدَّثَنِي عَنْ مَالِكٍ، عَنْ يَحْيَى بْنِ سَعِيدٍ، عَنْ مُحَمَّدِ بْنِ يَحْيَى بْنِ حَبَّانَ، عَنْ عَمِّهِ، وَاسِعِ بْنِ حَبَّانَ، أَنَّهُ قَالَ كُنْتُ أُصَلِّي وَعَبْدُ اللَّهِ بْنُ عُمَرَ مُسْنِدٌ ظَهْرَهُ إِلَى جِدَارِ الْقِبْلَةِ فَلَمَّا قَضَيْتُ صَلاَتِي انْصَرَفْتُ إِلَيْهِ مِنْ قِبَلِ شِقِّي الأَيْسَرِ فَقَالَ عَبْدُ اللَّهِ بْنُ عُمَرَ مَا مَنَعَكَ أَنْ تَنْصَرِفَ عَنْ يَمِينِكَ قَالَ فَقُلْتُ رَأَيْتُكَ فَانْصَرَفْتُ إِلَيْكَ . قَالَ عَبْدُ اللَّهِ فَإِنَّكَ قَدْ أَصَبْتَ إِنَّ قَائِلاً يَقُولُ انْصَرِفْ عَنْ يَمِينِكَ فَإِذَا كُنْتَ تُصَلِّي فَانْصَرِفْ حَيْثُ شِئْتَ إِنْ شِئْتَ عَنْ يَمِينِكَ وَإِنْ شِئْتَ عَنْ يَسَارِكَ .
Yahya related to me from Malik from Yahya ibn Said from Muhammad ibn Yahya ibn Habban that his paternal uncle Wasi ibn Habban said, "I was praying, and Abdullah ibn Umar was resting his back on the wall of the qibla. When I had finished the prayer I turned towards him on my left hand side. Abdullah ibn Umar said, 'What stopped you from turning away to your right?' I replied, 'I saw you and turned towards you.' Abdullah said, 'You have spoken correctly. People say that you should turn away to your right, but when you pray, you can turn whichever way you wish. If you like, to your right, and if you like, to your left.' "
Full reference and source
USC-MSA web (English) : Book 9, Hadith 81 Arabic : Book 9, Hadith 412
View source on Sunnah.com (opens in a new tab)