Sahih Muslim 1503
The Book of Mosques and Places of Prayer
وَحَدَّثَنَاهُ مُحَمَّدُ بْنُ الْمُثَنَّى، حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ، ح وَحَدَّثَنِيهِ زُهَيْرُ بْنُ حَرْبٍ، قَالَ حَدَّثَنَا عَبْدُ الرَّحْمَنِ، - يَعْنِي ابْنَ مَهْدِيٍّ - قَالَ حَدَّثَنَا شُعْبَةُ، بِهَذَا الإِسْنَادِ .
This hadith has also been narrated by Shu'ba with this chain of transmitters
Text from the public-domain hadith-api dataset. Numbering follows that dataset and can differ by a few from some printed editions — check the wording, not only the number.