There is no marriage for Bernard Mooney on Scotland's People, RC or any other denomination that I can see, with wife's surname , however there is a baptism of a daughter Margaret born 19 jul 1825, chr 26 jul 1825 at Newton Stewart church of Our Lady & St Ninian ,Wigtown, father Bernardi Mooney, mother Margaretae Alexander, not Mary. May be worth looking at, nevertheless.
perhaps the marriage was in Ireland?