Which was the first mosque built by the Holy Prophet (PBUH)?

Which was the first mosque built by the Holy Prophet (PBUH)?

حضور اکرم صلی اللہ علیہ وسلم کی پہلی مسجد کون سی تھی؟
Explanation
Very confusing question

Masjid-ul-Haram is the first masjid on the surface of the earth.

Masjid-e-Quba  is the first masjid in history of Islam.

Details

The Quba Mosque is a mosque located on the outskirts of Medina

The first stones of Quba Mosque were positioned by Muhammad he arrived on his emigration from the city of Mecca to Medina

Muhammad spent 14 days in this mosque praying qaṣr

this mosque is said to be where the first Friday prayer was held, led by Muhammad

Additional Information

Masjid Aqsa built by Hazrat Sulman A.S. was the first mosque on the surface of the earth.

masjid quba is built after Hazrat Muhammad saw arrived in Madina.