It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever deceives us is not one of us, and whoever shoots (arrows or weapons) at us at night is not one of us."
Hadith Referenceالأحاديث المختارة / عبد الله بن عباس بن عبد المطلب / 4167
Hadith Takhrij«أخرجه الطحاوي فى شرح مشكل الآثار برقم: 1505، والطبراني فى الكبير برقم: 11585»