And Qadi Shurayh used to take a salary for judging, and Aisha (may Allah be pleased with her) said that the guardian (of an orphan) will take expenses according to his work, and Abu Bakr and Umar (may Allah be pleased with them both) also used to