Abû Al-Dardâ’ – Allah be pleased with him – said:

It is from a person’s knowledge and understanding that he sees to his needs first in order to turn to his prayer with a heart free of distractions.

Ibn Al-Mubârak in Al-Zuhd wa Al-Raqâ’iq Vol.2 p726