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.
bukhari:4509Mūsá b. Ismāʿīl > Abū ʿAwānah > Ḥuṣayn > al-Shaʿbī > ʿAdī > Akhadh ʿAdī ʿIqāl Abyaḍ

ʿAdi took a white rope (or thread) and a black one, and when some part of the night had passed, he looked at them but he could not distinguish one from the other. The next morning he said, "O Allah's Apostle! I put (a white thread and a black thread) underneath my pillow." The Prophet ﷺ said, "Then your pillow is too wide if the white thread (of dawn) and the black thread (of the night) are underneath your pillow! "  

البخاري:٤٥٠٩حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ حَدَّثَنَا أَبُو عَوَانَةَ عَنْ حُصَيْنٍ عَنِ الشَّعْبِيِّ عَنْ عَدِيٍّ قَالَ

أَخَذَ عَدِيٌّ عِقَالاً أَبْيَضَ وَعِقَالاً أَسْوَدَ حَتَّى كَانَ بَعْضُ اللَّيْلِ نَظَرَ فَلَمْ يَسْتَبِينَا فَلَمَّا أَصْبَحَ قَالَ يَا رَسُولَ اللَّهِ جَعَلْتُ تَحْتَ وِسَادَتِي قَالَ إِنَّ وِسَادَكَ إِذًا لَعَرِيضٌ أَنْ كَانَ الْخَيْطُ الأَبْيَضُ وَالأَسْوَدُ تَحْتَ وِسَادَتِكَ