Abu Dawud said: Hammad did not mention enjoining good and forbidding what is disreputable.
In-book : Book 43, Hadith 471
English translation : Book 42, Hadith 5223
43. General Behavior (Kitab Al-Adab)
باب فِي الْمَوَاضِعِ الَّتِي لاَ تَجُوزُ فِيهَا الصَّلاَةُ