You should know that if you bail someone with your payslip and that person fails to appear in court as scheduled then you will have to pay the bail amount and fees that may be used to locate him/her. This means deduction of your salary.
Therefore, if you are prepared to lose your salary just in case the worst happens the go ahead and bail him/her, if not then do not.