If he is a poor man he may give his cloak as security, but you must not keep it when you go to sleep.