Rabi'ah bin Yazid and 'Atiyyah bin Qais narrated from 'Atiyyah As-Sa'di - and he was one of the Companions of the Prophet (ﷺ) - that the Messenger of Allah (ﷺ) said:
"The servant shall not reach the state of being among the Muttaqin until he leaves what there is no harm in out of caution for its harm."
English reference: Vol. 4, Book 11, Hadith 2451
Arabic reference: Book 37, Hadith 2639
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.