When a person is holding something, his concentration is divided between grasping that item and whatever else he is doing. Therefore, when speaking to an important person, one does not carry anything in his hand. For this reason, Chazal tell us not to hold items during tefillah (Mishbetzos Zahav 96,2).
“A person may not hold tefillin or a sefer Torah during prayer, lest he drop them. Similarly, he may not hold a plate of food or a loaf of bread [lest they fall and get dirty], money [lest it fall and get lost], or a knife [lest it fall and injure him]” (Berachos 23b, Shulchan Aruch 96,1). These items are especially distracting, since a person will certainly be preoccupied with ensuring that they remain intact. Thus, some authorities rule that these objects specifically should not be held during prayer (Magen Avraham 96,1). Others extend this prohibition to other items as well (Taz 96,1).
Some say that if one has recited Shemoneh Esrei while holding an object he should repeat his tefillah (Bach 96,1). The practical halachah is otherwise, so unless the person hadn’t concentrated on the first berachah of Shemoneh Esrei because he was holding something, he does not repeat his tefillah (Mishnah Berurah 96,2). We have learned that ordinarily one wouldn’t repeat Shemoneh Esrei despite lack of concentration, lest the next tefillah also be without intention. However, in this case he is obligated to repeat his prayer, since we can trace the source of his deficiency
One should be careful and refrain from holding anything during the entire prayer. From the beginning of Pesukei D’zimra until the end of tefillah a person should not keep anything in his hand, making every effort to concentrate on tefillah and not to get distracted by other matters (Mishbetzos Zahav 96,1).
Text Copyright © 2014 by Rabbi Daniel Travis and Torah.org