Sunan Abu Dawud #5004
General Behavior (Kitab Al-Adab) 43:232
Narrated AbdurRahman ibn AbuLayla:
The Companions of the Prophet (ﷺ) told us that they were travelling with the Prophet (ﷺ). A man of them slept, and one of them went to the rope which he had with him. He took it, by which he was frightened. The Prophet (ﷺ) said: It is not lawful for a Muslim that he frightens a Muslim.