Hello @Shraddha Kurjekar for development (non production) purposes you can use the user signInActivity property. You can get one or more using MS Graph Beta get and list users operations.
For production purposes you can use MS Graph v1.0 List signIns operation and filter by user like this:
GET https://graph.microsoft.com/v1.0/auditLogs/signIns?$filter=userId eq '<user object id>'&$top=1
Let us know if this answer was helpful to you. If so, please remember to accept it so that others in the community with similar questions can more easily find a solution.