Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad-zuhd:752ʿAbdullāh > ʿĪsá b. Sālim Abū Saʿīd al-Shāshī > Abū al-Malīḥ > Maymūn > Um al-Dardāʾ Awṣānī Ḥabībī Abū al-Dardāʾ

[Machine] If people wear linen, then wear cotton. And if people wear cotton, then wear wool.  

الزهد لأحمد:٧٥٢حَدَّثَنَا عَبْدُ اللَّهِ حَدَّثَنِي عِيسَى بْنُ سَالِمٍ أَبُو سَعِيدٍ الشَّاشِيُّ حَدَّثَنَا أَبُو الْمَلِيحِ عَنْ مَيْمُونٍ قَالَ قَالَتْ أُمُّ الدَّرْدَاءِ أَوْصَانِي حَبِيبِي أَبُو الدَّرْدَاءِ قَالَ

إِذَا لَبِسَ النَّاسُ الْكَتَّانَ فَالْبَسِي الْقُطْنَ وَإِذَا لَبِسَ النَّاسُ الْقُطْنَ فَالْبَسِي الصُّوفَ