Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Is it written anywhere in Halacha that one is not allowed to swim alone? I recall once seeing it in the Rambam but can't seem to find it.
I do not recall seeing anything about swimming alone; besides for the standard Mitzva to protect your health/life.
However it is mentioned that one should not sleep alone in a room and that one should not walk alone (on deserted road) at night. (Kitzur Shulchan Aruch 33:7 and 71:2)