Al-Adab Al-Mufrad, Book 47, Hadith 1157 (English)

Mujahid said, "It is disliked for a man to look sharply at his brother or to follow him with his glance when he leaves or to ask him, 'Where have you come from and where are you going?'"

حَدَّثَنَا حَامِدُ بْنُ عُمَرَ، عَنْ حَمَّادِ بْنِ زَيْدٍ، عَنْ لَيْثٍ، عَنْ مُجَاهِدٍ قَالَ‏:‏ كَانَ يَكْرَهُ أَنْ يُحِدَّ الرَّجُلُ النَّظَرَ إِلَى أَخِيهِ، أَوْ يُتْبِعَهُ بَصَرَهُ إِذَا قَامَ مِنْ عِنْدِهِ، أَوْ يَسْأَلَهُ‏:‏ مِنْ أَيْنَ جِئْتَ، وَأَيْنَ تَذْهَبُ‏؟‏‏.‏

sunnah.com