Auto Loan Debit from Salary Payment

Hi everyone. I was wondering if there is a feature that allows loan to be debited directly from user’s salary payment if this loan was actually linked to a user. Is this available? If it is not available, I think a module should be integrated with the loan and salary module to achieve this such that loan can be linked to a user, then auto debit of loan option from salary payment should be available.