I am coming on the malaysian airline from Sydney and connecting to Saudia airline to Riyadh
where I should sleep in which hotel for 10 hours transit
is there a need to go through immigration counters or will
my bags be transferred directly to Saudia
Please note when choosing a hotel that Malaysia Airlines and Saudia Airlines fly from and into KLIA Main terminal, not KLIA2 (the budget airline terminal).
You'll need to clear immigration and customs to get to the airport hotel. As for transfers of bags, usually, you can check your luggage all the way through to your destinations if you're flying with the same airline or partner airline. In this case, Malaysia Airlines and Saudia are not partners. Do check with Malaysia Airlines and Saudia, to find out more about checking your bags to your destination.
Hope this info helps.
Mentioned in this answer: