It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) forbade praying in seven places: a garbage dump, a slaughterhouse, a graveyard, the middle of a public road, a bathhouse, the places where camels are kept, and on the roof of the House of Allah.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 3794
(a) The like of it is narrated through another chain. Zayd bin Jabirah alone narrated it.
(b) Al-Bukhari said: Zayd bin Jabirah Abu Jabirah, (who narrates) from Dawud bin al-Husayn, is munkar al-hadith (his narrations are rejected).
(c) This hadith was also narrated from Abdullah al-Umari, from Nafi', from Ibn Umar, from Umar, from the Prophet (peace and blessings be upon him), and the hadith of Dawud is closer (to being correct). And Allah knows best.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 3795