Visiting The "Seven Mosques" & Other Places in Madinah
What is the ruling regarding visiting the "Seven Masajid" or Masjid Al-Ghamamah or some of the other places that some of the pilgrims visit?
Only the following five places should be visited:
1. The Prophet's (Peace and blessings be upon him) Masjid;
2. His grave and the graves of his two companions Abu Bakr and Umar, and the three graves are all in one place;
3. Al-Baqi' graveyard wherein is the grave of Uthman Ibn Affan;
4. The martyrs of the battle of Uhud, and amongst them the grave of Hamzah Ibn 'Abdul-Muttalib;
5. Masjid Quba.
Any place other than these should not be visited. That which you mention of the "Seven Masajid" or other than these which you did not mention, then visiting all of these has no basis.
Visiting them with the intention as a form of worshipping Allah the Almighty is an innovation.
This is because visiting these have not been mentioned on the authority of the Prophet (Peace and blessings be upon him) and it is not permissible for anyone to establish a time, place or action if done intending to draw nearness to Allah as a form of worship, except with evidences from the Shari'ah.
Sheikh Ibn Uthaymeen