Yahya related to me from Malik from Nafi that Abdullah ibn Umar used to pray four rakas behind the imam at Mina, and when he prayed by himself he would pray two rakas.
أَنَّ عَبْدَ اللَّهِ بْنَ عُمَرَ كَانَ يُصَلِّي وَرَاءَ الإِمَامِ بِمِنًى أَرْبَعًا فَإِذَا صَلَّى لِنَفْسِهِ صَلَّى رَكْعَتَيْنِ