Is it considered stealing if I take home something like a prayer mat or a book that has been sitting there since months and seems to be abandoned by its owner?
It is not allowed to take any item before getting permission from its owner even if it was not used by its owner since months. You need to search and reach to the real owner and seek his permission.
Wassalam.