Please guide me how to remain focused on studies and how to get rid of distraction. Also suggest me some books relevant to it ( like how to memorize and understand things better in light of hadith and Holy Quran).

Read the Quran more often as it teaches you how to focus and it helps retain your memory