كتاب 9
9  
Book 9
(9)
Chapter 9
(9)
باب 9
Muwatta Malik 347
Yahya related to me from Malik from Nafi that Ibn Umar stayed in Makka for ten nights, shortening the prayer, except when he prayed it behind an imam, in which case he followed the imam's prayer.
وَحَدَّثَنِي عَنْ مَالِكٍ، عَنْ نَافِعٍ، أَنَّ ابْنَ عُمَرَ، أَقَامَ بِمَكَّةَ عَشْرَ لَيَالٍ يَقْصُرُ الصَّلاَةَ إِلاَّ أَنْ يُصَلِّيَهَا مَعَ الإِمَامِ فَيُصَلِّيهَا بِصَلاَتِهِ ‏.‏
Reference : Muwatta Malik 347
In-book reference : Book 9, Hadith 34525
USC-MSA web (English) reference : Book 7, Hadith 347
  (deprecated numbering scheme)