Answer and Explanation:
The journal entry is shown below:
Bonds Payable $500,000 Â
Premium on Bonds Payable $7,500 Â
     To Preferred Stock ($500,000 ÷ $1,000  × 20 × $50) $500,000
     To Paid-in Capital in Excess of Par (Preferred Stock) $7,500
(Being the preferred stock is recorded)
For recording this we debited the bond payable and premium on bond payable as it decreased the liabilities and credited the preferred stock and paid in capital as it increased the stockholder equity