Sunan Ibn Majah, Book 37, Hadith 30 (Ibn Majah 4133)

It was narrated from Abu Sa’eed Al-Khudri that the Messenger of Allah (ﷺ) said:

“Woe to the most wealthy except those who do such and such with the money, and such and such” – four things, (pointing) to his right, to his left, in front of him and behind him.