عَنْ أَبِي عَيَّاضٍ رَضِيَ اللَّهُ عَنْهُ عَنْ رَجُلٍ مِنْ أَصْحَابِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ نَهَى أَنْ يَجْلِسَ بَيْنَ الضَّحِّ وَالظِّلِّ وَقَالَ مَجْلِسُ الشَّيْطَانِ
A companion of the Messenger narrates that the Messenger of Allah, peace and blessings be upon him, forbade a person from sitting in such a way that part of his body is in the sun and part in the shade, and said: This is the sitting of Satan.