Ash-Shama'il Al-Muhammadiyah, Book 47, Hadith 329 (English) ⓘ
Anas Radiyallahu 'Anhu says: "A person who was wearing yellow coloured clothing was sitting by Rasulullah Sallallahu 'Alayhi Wasallam. It was the habit of Rasulullah Sallallahu 'Alayhi Wasallam not to bluntly express things he did not approve of. (Therefore he kept silent). When that person left, Rasulullah Sallallahu 'Alayhi Wasallam said to those present 'It would have been better if you had told him not to wear yellow clothing'".
حَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، وَأَحَمْدُ بْنُ عَبْدَةَ هُوَ الضَّبِّيُّ، وَالْمَعْنَى وَاحِدٌ، قَالا: حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ، عَنْ سَلْمٍ الْعَلَوِيِّ، عَنْ أَنَسِ بْنِ مَالِكٍ، عَنْ رَسُولِ اللهِ صلى الله عليه وسلم، أَنَّهُ كَانَ عِنْدَهُ رَجُلٌ بِهِ أَثَرُ صُفْرَةٍ، قَالَ: وَكَانَ رَسُولُ اللهِ صلى الله عليه وسلم، لا يكَادُ يُواجِهُ أَحَدًا بِشَيْءٍ يَكْرَهُهُ، فَلَمَّا قَامَ، قَالَ لِلْقَوْمِ: لَوْ قُلْتُمْ لَهُ يَدَعُ هَذِهِ الصُّفْرَةَ.
also referenced under: Book 48, Hadith 346 (In-Book)