After cooking masoor dal in pressure cooker, I used to saute it with ghee but since I don't have ghee and it's midnight, can I saute it with butter? will it taste bad?
You should be able to do it, just be careful not using too high a temperature so not to burn the butter.
You could clarify the butter yourself. Melt your butter completely over a gentle heat, or on a low setting in a microwave. Skim any white froth from the top. Gently pour off the clear yellow butterfat from the milky residue underneath.