I prayed along with the Messenger of Allah ﷺ four rak'ahs at the noon prayer at Medina and two rak'ahs at the afternoon prayer in Dhu al-Hulaifah. (Using translation from Abū Dāʾūd 1202)
عَنْ إِبْرَاهِيمَ بْنِ مَيْسَرَةَ وَمُحَمَّدِ بْنِ الْمُنْكَدِرِ أَنَّهُمَا سَمِعَا أَنَسَ بْنَ مَالِكٍ يَقُولُ «صَلَّى رَسُولُ اللَّهِ ﷺ بِالْمَدِينَةِ أَرْبَعًا وَبِذِي الْحُلَيْفَةِ رَكْعَتَيْنِ»