I asked Masruq, ʿAta' and Mujahid (about the ʿUmra of Messenger of Allah ﷺ). They said, "Messenger of Allah ﷺ had performed ʿUmra in Dhi-l-Qa'da before he performed Hajj." I heard Al-Bara' bin ʿAzib saying, "Messenger of Allah ﷺ had performed ʿUmra in Dhi-l-Qa'da twice before he performed Hajj."
سَأَلْتُ مَسْرُوقًا وَعَطَاءً وَمُجَاهِدًا فَقَالُوا اعْتَمَرَ رَسُولُ اللَّهِ ﷺ فِي ذِي الْقَعْدَةِ قَبْلَ أَنْ يَحُجَّ وَقَالَ سَمِعْتُ الْبَرَاءَ بْنَ عَازِبٍ ؓ يَقُولُ اعْتَمَرَ رَسُولُ اللَّهِ ﷺ فِي ذِي الْقَعْدَةِ قَبْلَ أَنْ يَحُجَّ مَرَّتَيْنِ