Answered by Sayyidi Habib Umar bin Hafiz (may Allah protect him and benefit us by him).
How can a student of knowledge be involved in serving others while not being distracted from his studies?
You can give sincere advice (nasihah) and encouragement to your fellow students and you can serve them in things which do not take a lot of time and effort. You can use your knowledge to write articles on beneficial topics.