Hazrat Abu Huraira narrates that when someone greets you with Salam while you are performing prayer, then respond to his Salam.