Sahih Muslim 1397
Sahih Muslim · Book 15: The Book of Pilgrimage · The virtue of the Three Masajid
Abu Haraira (Allah be pleased with him) reported Allah's Messenger (way peace be upon him) as saying:
وَحَدَّثَنَا هَارُونُ بْنُ سَعِيدٍ الأَيْلِيُّ ، حَدَّثَنَا ابْنُ وَهْبٍ ، حَدَّثَنِي عَبْدُ الْحَمِيدِ بْنُ جَعْفَرٍ ، أَنَّ عِمْرَانَ بْنَ أَبِي أَنَسٍ ، حَدَّثَهُ أَنَّ سَلْمَانَ الأَغَرَّ حَدَّثَهُ أَنَّهُ، سَمِعَ أَبَا هُرَيْرَةَ ، يُخْبِرُ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ " إِنَّمَا يُسَافَرُ إِلَى ثَلاَثَةِ مَسَاجِدَ مَسْجِدِ الْكَعْبَةِ وَمَسْجِدِي وَمَسْجِدِ إِيلِيَاءَ " .
One should undertake journey to three mosques: the mosque of the Ka'ba, my mosque, and the mosque of Elia (Bait al-Maqdis).