When a dividend is declared, the following journals are posted:
Dr Reserves
Cr Dividends Payable
When the dividend is paid the journal is:
Dr Dividends Payable
Cr Cash
Please bear in mind that the ordinary dividends need to be declared and not simply proposed or promised for a journal to be posted.