how to perform salat al janaza and and night prayer to do hajj or can you just complete hajj if you know basics of salat?

jazakAllah