Saudi Arabia's stock market ended slightly lower on Sunday after a fall in oil prices at the end of last week, while banking shares helped lift Qatar's benchmark index.