Actions while Praying

Bukhari :: Book 2 :: Volume 22 :: Hadith 290

Narrated 'Abdullah:

We used to greet the Prophet while he was praying and he used to answer our greetings. When we returned from AnNajashi (the ruler of Ethiopia), we greeted him, but he did not answer us (during the prayer) and (after finishing the prayer) he said, "In the prayer one is occupied (with a more serious matter)."

Source materials are from the University of Southern California MSA site
Hadith eBooks converted from Imaan Star