(Imām Bukhārī narrates): Abu Nu'aim narrated the hadith to us, he said: Sufyan narrated the hadith to us, from Muhammad bin al-Munkadir and Ibrahim bin Maisarah, from Hazrat Anas (Allāh be pleased with him), he narrated that
I offered the Zuhr prayer of four rak'ahs with the Prophet ﷺ in Madinah, and the Asr prayer of two rak'ahs in Dhul Hulaifah.
حَدَّثَنَا أَبُو نُعَيْمٍ، قَالَ حَدَّثَنَا سُفْيَانُ، عَنْ مُحَمَّدِ بْنِ المُنْكَدِرِ، وَإِبْرَاهِيمَ بْنِ مَيْسَرَةَ، عَنْ أَنسِ بْنِ مَالِكٍ رَضِيَ اللَّهُ عَنْهُ
صَلَّيْتُ الظُّهْرَ مَعَ النَّبِيِّ صَلَّى اللهُ عَليْهِ وَسَلَّمَ بِالْمَدِينَةِ أَرْبَعًا، وَبِذِي الحُلَيْفَةِ رَكْعَتَيْنِ
Reference: Sahih Al Bukhari 1089